Parcourir la source

Merge branch 'master' of http://git.jhcs888.com/zpj/zh-new-promotion

USER-20230908AJ\Administrator il y a 2 ans
Parent
commit
3c6fd43888
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      service/router.js

+ 1 - 1
service/router.js

@@ -61,7 +61,7 @@ router.beforeEach( async (to, from, next) => {
 						uni.setStorageSync('userNmae',res.data.name)
 						uni.setStorageSync('userNmae',res.data.name)
 						uni.setStorageSync('token_str',res.data.token)
 						uni.setStorageSync('token_str',res.data.token)
 						uni.setStorageSync('m_id',res.data.m_id)
 						uni.setStorageSync('m_id',res.data.m_id)
-						next(to.path)
+						next()
 					} else {
 					} else {
 						tools.error(res.msg);
 						tools.error(res.msg);
 					}
 					}