设置路由管理员可以访问
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user