if (to.meta.requireAuth) { // 判断该路由是否需要登录权限if (VueCookies.get('user') !== null) { // 通过vuex state获取当前的token是否存在.
確定! 回上一頁