@@ -2,7 +2,8 @@
"dependencies": {
"uni-read-pages": "^1.0.5",
"uni-simple-router": "^2.0.7",
- "uploading-oss": "^1.0.3"
+ "uploading-oss": "^1.0.3",
+ "jweixin-module": "^1.2.0"
},
"devDependencies": {
"@types/html5plus": "^1.0.2",
@@ -23,7 +23,7 @@ router.beforeEach((to, from, next) => {
// #ifdef H5
if(whiteList.indexOf(to.path)<0 && !userToken){
- tools.wxLogin()
+ // tools.wxLogin()
}
// #endif
next();
@@ -1,4 +1,4 @@
-import wxJs from 'static/js/jweixin-1.2.0'
+import wxJs from "jweixin-module"
let tools = {}
/**