系统升级
This commit is contained in:
@@ -11,8 +11,8 @@ const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
path: "/",
|
||||
// redirect重定向
|
||||
redirect: "/Square"
|
||||
// redirect: "/upgrade"
|
||||
// redirect: "/Square"
|
||||
redirect: "/upgrade"
|
||||
|
||||
},
|
||||
{
|
||||
@@ -321,17 +321,17 @@ router.beforeEach((to:any, from, next) => {
|
||||
let upgradeList = ['/feedbackSurvey','/feedbackSurveyCN','emailVerify']//指定页面系统维护也可以访问
|
||||
|
||||
// 系统维护
|
||||
// const toName = to.name === 'upgrade';
|
||||
// if(upgradeList.indexOf(to.path) > -1){
|
||||
// next();
|
||||
// }else{
|
||||
// if (toName) {
|
||||
// next();
|
||||
// } else {
|
||||
// next({ name: 'upgrade' });
|
||||
// }
|
||||
// }
|
||||
// return
|
||||
const toName = to.name === 'upgrade';
|
||||
if(upgradeList.indexOf(to.path) > -1){
|
||||
next();
|
||||
}else{
|
||||
if (toName) {
|
||||
next();
|
||||
} else {
|
||||
next({ name: 'upgrade' });
|
||||
}
|
||||
}
|
||||
return
|
||||
// 检查路由是否存在
|
||||
// 机房用户
|
||||
let herfData = window.location.search.substring(1)
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
<!-- 没有截至时间 -->
|
||||
<!-- <div class="upgrade-content-textab">Due to the system server upgrade, we will start the upgrade from 9:30 am Hong Kong time on the weekend of October 20th until October 21st. During this time,<br> the AiDA system will be temporarily inaccessible. We apologize for any inconvenience this may cause and thank you for your understanding.</div> -->
|
||||
<!-- 有截至时间 -->
|
||||
<!-- <div class="upgrade-content-textab">Due to system server upgrades, We will be upgrading from 9:30 am Hong Kong time on Tuesday, July 9 until 17:00 PM on Tuesday, July 9. 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 class="upgrade-content-textab">Due to system server upgrades, we will be upgrading from 9:30am (HKT) on Tuesday, February 4th to Wednesday, February 5th. During this period, the AiDA system will be temporarily inaccessible. <br>We sincerely apologize for any inconvenience caused and thank you for 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>
|
||||
|
||||
Reference in New Issue
Block a user