|
@@ -4,7 +4,7 @@ import { getToken, setToken } from '@/utils/auth' // getToken from cookie
|
|
|
import { lockStatus,unlock } from "@/api/allApi";
|
|
|
//路由跳转之前
|
|
|
router.beforeEach((to, _from, next) => {
|
|
|
- setToken('26d6869a02d7d2e5c593226ca14d6601');
|
|
|
+ // setToken('26d6869a02d7d2e5c593226ca14d6601');
|
|
|
const path = to.path;
|
|
|
const Authorization = to.query.Authorization
|
|
|
if (path.indexOf('auth') != -1 && Authorization) {
|