From ecc5079c63e86dd6caba6753b51ed480022bf89b Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期一, 05 二月 2024 19:19:01 +0800 Subject: [PATCH] 添加api拦截 --- src/router/index.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 61b22ca..87e40de 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -142,9 +142,9 @@ const result = await hasPermission(to.path); console.log(result,"result") next(); - if (!isSkip) { - next('/noData') - } + // if (!isSkip) { + // next('/noData') + // } } catch (error) { console.error('Error in navigation guard:', error); next(); -- Gitblit v1.8.0