update wechat getParam
This commit is contained in:
parent
2184cbcb7e
commit
d3cebfd2b8
|
|
@ -208,7 +208,9 @@ function getNumber() {
|
|||
// 初始化微信配置
|
||||
const initWechatConfig = async () => {
|
||||
try {
|
||||
const response = await wechatConfig();
|
||||
const response = await wechatConfig({
|
||||
url: currentUrl.value,
|
||||
});
|
||||
// const config = await response.json();
|
||||
if (response.code == 200) {
|
||||
wx.config({
|
||||
|
|
|
|||
|
|
@ -201,7 +201,9 @@ function getNumber() {
|
|||
// 初始化微信配置
|
||||
const initWechatConfig = async () => {
|
||||
try {
|
||||
const response = await wechatConfig();
|
||||
const response = await wechatConfig({
|
||||
url: currentUrl.value,
|
||||
});
|
||||
// const config = await response.json();
|
||||
if (response.code == 200) {
|
||||
wx.config({
|
||||
|
|
|
|||
Loading…
Reference in New Issue