Browse Source

fix-7183(KIP-7183): H5端停车优惠券跳转失败:引入jsdk失败5

John-Hong 2 năm trước cách đây
mục cha
commit
dfad80687f
3 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 1 2
      public/index.html
  2. 2 2
      src/main.js
  3. 0 0
      src/utils/js_sdk/weixin.js

+ 1 - 2
public/index.html

@@ -10,7 +10,7 @@
             <%= htmlWebpackPlugin.options.title %>
         </title> -->
   <title>
-    临时停车
+    <%= webpackConfig.name %>
   </title>
   <script>
     // CONFIGURATIONS_PLACEHOLDER
@@ -62,5 +62,4 @@
   <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>
 </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;

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
src/utils/js_sdk/weixin.js


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác