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