设置路由管理员可以访问

This commit is contained in:
X1627315083
2025-12-19 16:50:39 +08:00
parent 0e1e2cec39
commit 8c5105052d

View File

@@ -507,7 +507,7 @@ function isTimeRangePassed(timeRange) {
router.beforeEach((to: any, from, next) => {
store.commit("set_view_loading", true);
//系统维护时间
const time = '2025-11-21T23:00:00 - 2025-11-22T00:00:00';
const time = '2025-12-19T21:00:00 - 2025-12-19T22:00:00';
if (isTimeRangePassed(time) == 'in_progress') {
// 系统维护
const toName = to.name === 'upgrade';