Property visible must be accessed with $ or _ are not proxied in the Vue instance to prevent错误
如果出现上面的错误,解决办法
在 src/permission.js 下面调整为下面代码
catch (error) {
// remove token and go to login page to re-login
await store.dispatch('user/resetToken')
Message.error(error.message || 'Has Error')
next(`/login?redirect=${ to.path}`)
NProgress.done()
}
还没有评论,来说两句吧...