From e44f6e409b45d632eb3adcb82d082e363350ace4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 08 一月 2024 16:58:25 +0800 Subject: [PATCH] 写公共的判断比较2个日期的方法 --- 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