From 94c2c08f2c2c0eca2c6b27dd85d6f1ddc2a719c9 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 08 一月 2024 16:59:05 +0800
Subject: [PATCH] 提示语修改 要晚于

---
 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