瀏覽代碼

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

USER-20230908AJ\Administrator 2 年之前
父節點
當前提交
3c6fd43888
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  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('token_str',res.data.token)
 						uni.setStorageSync('m_id',res.data.m_id)
-						next(to.path)
+						next()
 					} else {
 						tools.error(res.msg);
 					}