系统维护
This commit is contained in:
@@ -8,8 +8,8 @@ const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
path: "/",
|
||||
// redirect重定向
|
||||
redirect: "/login"
|
||||
// redirect: "/upgrade"
|
||||
// redirect: "/login"
|
||||
redirect: "/upgrade"
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
@@ -70,12 +70,13 @@ const router = createRouter({
|
||||
})
|
||||
router.beforeEach((to, from, next) => {
|
||||
// 系统维护
|
||||
// const toName = to.name === 'upgrade';
|
||||
// if (toName) {
|
||||
// next();
|
||||
// } else {
|
||||
// next({ name: 'upgrade' });
|
||||
// }
|
||||
const toName = to.name === 'upgrade';
|
||||
if (toName) {
|
||||
next();
|
||||
} else {
|
||||
next({ name: 'upgrade' });
|
||||
}
|
||||
return
|
||||
// 检查路由是否存在
|
||||
// 机房用户
|
||||
let murmurStr: any = localStorage.getItem('murmurStr')
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="upgrade-content-wire"></div>
|
||||
<!-- <div class="upgrade-content-text">System upgrading</div> -->
|
||||
<div class="upgrade-content-text">System maintenance</div>
|
||||
<div class="upgrade-content-textab">Due to system server upgrades, we will be conducting maintenance on Monday, March 4th, from 10:00 AM to 3:00 PM Hong Kong time. During this period, access to the AiDA system will be temporarily unavailable.<br> We apologize for any inconvenience this may cause and appreciate your understanding.</div>
|
||||
<div class="upgrade-content-textab">Due to system server upgrades, we will be conducting maintenance on Monday, March 27th, from 10:30 AM to 11:30 PM Hong Kong time. During this period, access to the AiDA system will be temporarily unavailable.<br> We apologize for any inconvenience this may cause and appreciate your understanding.</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user