panhui 3 年之前
父节点
当前提交
fc5f6ff2af
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/main.ts

+ 1 - 2
src/main.ts

@@ -29,8 +29,7 @@ if (query.code) {
         .then((res: any) => {
         .then((res: any) => {
             wx.config({
             wx.config({
                 ...res,
                 ...res,
-                jsApiList: ['chooseWXPay', 'updateAppMessageShareData', 'updateTimelineShareData'],
-                debug: true
+                jsApiList: ['chooseWXPay', 'updateAppMessageShareData', 'updateTimelineShareData']
             })
             })
             wx.ready(function () {
             wx.ready(function () {
                 // fetchPay(openid).then((params: any) => {
                 // fetchPay(openid).then((params: any) => {