update wechat getParam

This commit is contained in:
weichengwu 2025-11-20 10:20:27 +08:00
parent 2184cbcb7e
commit d3cebfd2b8
2 changed files with 6 additions and 2 deletions

View File

@ -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({

View File

@ -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({