系统维护

This commit is contained in:
X1627315083
2024-06-20 10:25:38 +08:00
parent 1d8869cd5d
commit cec6198cda
2 changed files with 13 additions and 13 deletions

View File

@@ -10,8 +10,8 @@ const routes: Array<RouteRecordRaw> = [
{
path: "/",
// redirect重定向
redirect: "/login"
// redirect: "/upgrade"
// redirect: "/login"
redirect: "/upgrade"
},
{
path: '/login',
@@ -135,13 +135,13 @@ const router = createRouter({
router.beforeEach((to, from, next) => {
// 系统维护
// const toName = to.name === 'upgrade';
// if (toName) {
// next();
// } else {
// next({ name: 'upgrade' });
// }
// return
const toName = to.name === 'upgrade';
if (toName) {
next();
} else {
next({ name: 'upgrade' });
}
return
// 检查路由是否存在
// 机房用户
let userInfo = JSON.parse(getCookie("userInfo") as any);

View File

@@ -5,10 +5,10 @@
<i class="fi fi-rr-settings"></i>
</div>
<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 upgrading from 9:30 am Hong Kong time on Friday, March 17 until further notice. 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 carry out repairs on Friday, March 17th, from 9:30 AM to 16: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-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 upgrading from 9:30 am Hong Kong time on Friday, March 17 until further notice. 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">The AiDA system cannot be accessed temporarily due to system server maintenance. We apologize for any inconvenience this may cause and thank you for your understanding.</div>
</div>
</div>
</template>