From 9051d96029c8e860c6e6657b7df2106bfbfdc010 Mon Sep 17 00:00:00 2001
From: chenyong <chenyong@hnkhzn.com>
Date: 星期五, 06 三月 2026 15:20:54 +0800
Subject: [PATCH] 111
---
项目代码/WMS/WIDESEA_WMSClient/src/router/index.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/router/index.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/router/index.js"
index 59e8d9f..febef0c 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/router/index.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/router/index.js"
@@ -54,6 +54,7 @@
router.beforeEach((to, from, next) => {
+ if (to.matched.length == 0) return next({ path: '/404' });
//2020.06.03澧炲姞璺敱鍒囨崲鏃跺姞杞芥彁绀�
store.dispatch("onLoading", true);
if ((to.hasOwnProperty('meta') && to.meta.anonymous) || store.getters.isLogin() || to.path == '/login') {
--
Gitblit v1.9.3