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