浏览代码

Merge pull request #614 from John-Hong/release-3.19.0

Release 3.19.0
John-Hong 9 月之前
父节点
当前提交
da2e6c860f
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/plugins/AppInit.js

+ 3 - 3
src/plugins/AppInit.js

@@ -61,9 +61,9 @@ export default {
     app.config.globalProperties.$etcpAppInvoicePath = ETCP_APP_INVOICE_PATH;
     // 静态图片前缀(不用改)
     app.config.globalProperties.$staticPicUrl = 'https://hafeng-admin.oss-cn-beijing.aliyuncs.com';
-    // app.config.globalProperties.$wx = wx;
-    // app.config.globalProperties.wx = wx;
-    // app.config.globalProperties.$wx = window.wx;
+    app.config.globalProperties.$wx = wx;
+    app.config.globalProperties.wx = wx;
+    app.config.globalProperties.$wx = window.wx;
     app.config.globalProperties.$store = store;
     app.config.globalProperties.$request = request;
     app.config.globalProperties.isAlipayClient = window.isAlipayClient;