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