@@ -62,6 +62,7 @@ methods.forEach(method => {
)
if (opt.isAuth) {
+ const user = useUserStore()
if (!user.token) {
// uni.navigateTo({
// url: '/pages/login/login'