From 1d8869cd5d2ab13ad2b401a2b101eb4ada5154ab Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Wed, 29 May 2024 15:54:17 +0800 Subject: [PATCH 1/3] =?UTF-8?q?administrator=E5=88=97=E8=A1=A8=E6=8B=96?= =?UTF-8?q?=E6=8B=BD=E9=81=97=E7=95=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/Administrator/allUser.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/component/Administrator/allUser.vue b/src/component/Administrator/allUser.vue index 2f2ae3a6..5230d063 100644 --- a/src/component/Administrator/allUser.vue +++ b/src/component/Administrator/allUser.vue @@ -95,6 +95,7 @@ export default defineComponent({ title: 'Country', align: "center", ellipsis: true, + width: 50, dataIndex: "country", key: "country", }, From cec6198cdae433fcd66db2709f79cb2c936433d6 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Thu, 20 Jun 2024 10:25:38 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 18 +++++++++--------- src/views/Upgrade.vue | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 8e49de86..ca7bf688 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -10,8 +10,8 @@ const routes: Array = [ { 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); diff --git a/src/views/Upgrade.vue b/src/views/Upgrade.vue index 36014cf2..43ea9867 100644 --- a/src/views/Upgrade.vue +++ b/src/views/Upgrade.vue @@ -5,10 +5,10 @@
-
System upgrading
- -
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.
We apologize for any inconvenience this may cause and appreciate your understanding.
- + +
System maintenance
+ +
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.
From 1ce220796c37ebe2569c13177174165d32f63454 Mon Sep 17 00:00:00 2001 From: WangXiaoDong <1627315083@qq.com> Date: Fri, 21 Jun 2024 19:17:48 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=8F=96=E6=B6=88=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index ca7bf688..8e49de86 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -10,8 +10,8 @@ const routes: Array = [ { 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);