From 89380e6260a75d1d3b94de687ebcc2f50d50659d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 03 Feb 2026 15:44:33 +0800
Subject: [PATCH] feat:环境变量配置调整
---
applications/task-work-order/src/permission.js | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/applications/task-work-order/src/permission.js b/applications/task-work-order/src/permission.js
index 36ed552..01156ea 100644
--- a/applications/task-work-order/src/permission.js
+++ b/applications/task-work-order/src/permission.js
@@ -59,15 +59,14 @@
let toMenu = findRouteByPath(newMenu, to.path)
- store.commit('ADD_TAG', {
- name: firstMenu.name,
- path: firstMenu.path,
- fullPath: firstMenu.path,
- params: firstMenu.params || {},
- query: firstMenu.query || {},
- meta: firstMenu.meta || {},
- })
-
+ // store.commit('ADD_TAG', {
+ // name: firstMenu.name,
+ // path: firstMenu.path,
+ // fullPath: firstMenu.path,
+ // params: firstMenu.params || {},
+ // query: firstMenu.query || {},
+ // meta: firstMenu.meta || {},
+ // })
store.commit('ADD_TAG', {
name: toMenu.name,
path: toMenu.path,
@@ -121,7 +120,8 @@
if (meta.isAuth === false) {
next()
} else {
- env === 'development' ? next('/login') : window.location.replace(`${adminUrl}#/login`)
+ next('/login')
+ // env === 'development' ? next('/login') : window.location.replace(`${adminUrl}#/login`)
}
}
})
@@ -136,7 +136,7 @@
NProgress.done()
const isLoginPage = to.path === '/login'
// 根据是否登录页设置标题
- const pageTitle = isLoginPage ? '中图智飞低空感知网平台' : '综合管理平台'
+ const pageTitle = isLoginPage ? '任务工单平台' : '综合管理平台'
document.title = pageTitle
store.commit('SET_IS_SEARCH', false)
-})
\ No newline at end of file
+})
--
Gitblit v1.9.3