Эх сурвалжийг харах

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

John-Hong 2 жил өмнө
parent
commit
dfad80687f

+ 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;

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
src/utils/js_sdk/weixin.js


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно