fix wechat token
This commit is contained in:
parent
d3cebfd2b8
commit
89255a09ce
|
|
@ -209,7 +209,7 @@ function getNumber() {
|
||||||
const initWechatConfig = async () => {
|
const initWechatConfig = async () => {
|
||||||
try {
|
try {
|
||||||
const response = await wechatConfig({
|
const response = await wechatConfig({
|
||||||
url: currentUrl.value,
|
url: decodeURIComponent(currentUrl.value),
|
||||||
});
|
});
|
||||||
// const config = await response.json();
|
// const config = await response.json();
|
||||||
if (response.code == 200) {
|
if (response.code == 200) {
|
||||||
|
|
|
||||||
|
|
@ -202,7 +202,7 @@ function getNumber() {
|
||||||
const initWechatConfig = async () => {
|
const initWechatConfig = async () => {
|
||||||
try {
|
try {
|
||||||
const response = await wechatConfig({
|
const response = await wechatConfig({
|
||||||
url: currentUrl.value,
|
url: decodeURIComponent(currentUrl.value),
|
||||||
});
|
});
|
||||||
// const config = await response.json();
|
// const config = await response.json();
|
||||||
if (response.code == 200) {
|
if (response.code == 200) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue