From 3736e7507dda20439ef1d044dbac8d6a48ab7ec8 Mon Sep 17 00:00:00 2001 From: zhengdahan <10169919+zhengdahan@user.noreply.gitee.com> Date: Sun, 19 Dec 2021 09:28:32 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=98=E5=8E=9F=E8=BF=87=E6=B8=A1?= =?UTF-8?q?=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mayfly_go_web/src/router/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mayfly_go_web/src/router/index.ts b/mayfly_go_web/src/router/index.ts index 65d63e1d..6ba0ba7f 100644 --- a/mayfly_go_web/src/router/index.ts +++ b/mayfly_go_web/src/router/index.ts @@ -18,7 +18,7 @@ const router = createRouter({ // 前端控制路由:初始化方法,防止刷新时丢失 export function initAllFun() { - // NextLoading.start(); // 界面 loading 动画开始执行 + NextLoading.start(); // 界面 loading 动画开始执行 const token = getSession('token'); // 获取浏览器缓存 token 值 if (!token) { // 无 token 停止执行下一步 @@ -37,7 +37,7 @@ export function initAllFun() { // 后端控制路由:模拟执行路由数据初始化 export function initBackEndControlRoutesFun() { - // NextLoading.start(); // 界面 loading 动画开始执行 + NextLoading.start(); // 界面 loading 动画开始执行 const token = getSession('token'); // 获取浏览器缓存 token 值 if (!token) { // 无 token 停止执行下一步