浏览代码

fix-7183(KIP-7183): H5端停车优惠券跳转失败3

John-Hong 2 年之前
父节点
当前提交
2078503f99
共有 2 个文件被更改,包括 3 次插入4 次删除
  1. 1 2
      public/index.html
  2. 2 2
      src/main.js

+ 1 - 2
public/index.html

@@ -59,6 +59,5 @@
   <div id="app"></div>
   <!-- built files will be auto injected -->
 </body>
-<!-- <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> -->
-
+ <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
 </html>

+ 2 - 2
src/main.js

@@ -19,7 +19,7 @@ import {
   Skeleton,
 } from 'vant';
 import router from './routes/index.js';
-import wx from '@/utils/js_sdk/weixin';
+// import wx from '@/utils/js_sdk/weixin';
 
 // import authorize from 'components/authorize/authorize.vue'
 
@@ -36,7 +36,7 @@ import componentsInstall from './components/install';
 // 注册全局组件
 // Vue.use(plugins);
 Vue.use(componentsInstall);
-window.wx = wx;
+// window.wx = wx;
 Vue.prototype.$wx = window.wx;
 Vue.prototype.$store = store;
 Vue.prototype.$request = request;