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