|
|
@@ -1,6 +1,6 @@
|
|
|
import Vue from 'vue';
|
|
|
import Router from 'vue-router';
|
|
|
-import {getStore} from "@/utils/storage";
|
|
|
+// import {getStore} from "@/utils/storage";
|
|
|
|
|
|
Vue.use(Router);
|
|
|
|
|
|
@@ -130,7 +130,7 @@ router.beforeEach((to, from, next) => {
|
|
|
// if (to.name === 'login' || to.name === 'stafflogin' || to.name === 'invitation' || to.name === 'next') {
|
|
|
// next()
|
|
|
// } else {
|
|
|
- // if (getStore('token')) {
|
|
|
+ // if (getStore('login')) {
|
|
|
// next()
|
|
|
// } else {
|
|
|
// next({name: '/login'})
|