diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 819575e34..592b8227d 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -1489,6 +1489,7 @@ const message = { }, license: { community: 'Community Edition: ', + community2: 'Community Edition', pro: 'Professional Edition: ', trial: 'Trial Edition', office: 'Official Edition', @@ -1514,6 +1515,7 @@ const message = { advice: 'Consultation', indefinitePeriod: 'Indefinite Period', levelUpPro: 'Upgrade to Professional Edition', + licenseSync: 'License Sync', knowMorePro: 'Learn More', closeAlert: 'The current page can be closed in the panel settings', introduce: 'Feature Introduction', diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index 218c88ced..7da4099bb 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -1388,6 +1388,7 @@ const message = { }, license: { community: '社區版:', + community2: '社區版', pro: '專業版:', trial: '試用版', office: '正式版', @@ -1412,6 +1413,7 @@ const message = { advice: '諮詢', indefinitePeriod: '無限期', levelUpPro: '升級專業版', + licenseSync: '許可證同步', knowMorePro: '了解更多', closeAlert: '當前頁面可在面板設置中關閉顯示', introduce: '功能介紹', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 07f6d8bf9..ecbf8f0a1 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -1389,6 +1389,7 @@ const message = { }, license: { community: '社区版:', + community2: '社区版', pro: '专业版:', trial: '试用版', office: '正式版', @@ -1413,6 +1414,7 @@ const message = { advice: '咨询', indefinitePeriod: '无限期', levelUpPro: '升级专业版', + licenseSync: '许可证同步', knowMorePro: '了解更多', closeAlert: '当前页面可在面板设置中关闭显示', introduce: '功能介绍', diff --git a/frontend/src/routers/index.ts b/frontend/src/routers/index.ts index 05620259c..6959fec84 100644 --- a/frontend/src/routers/index.ts +++ b/frontend/src/routers/index.ts @@ -13,7 +13,7 @@ router.beforeEach((to, from, next) => { if (to.name !== 'entrance' && !globalStore.isLogin) { next({ name: 'entrance', - params: { code: globalStore.entrance }, + params: to.params, }); NProgress.done(); return; diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue index 3a9cbb97e..7bbc7e904 100644 --- a/frontend/src/views/login/index.vue +++ b/frontend/src/views/login/index.vue @@ -32,7 +32,7 @@ const screenWidth = ref(null); const getStatus = async () => { const res = await checkIsSafety(globalStore.entrance); if (res.data === 'unpass') { - router.replace({ name: 'entrance', params: { code: 0 } }); + router.replace({ name: 'entrance', params: { code: globalStore.entrance } }); } }; diff --git a/frontend/src/views/setting/license/index.vue b/frontend/src/views/setting/license/index.vue index 80fa259a8..3daebfa60 100644 --- a/frontend/src/views/setting/license/index.vue +++ b/frontend/src/views/setting/license/index.vue @@ -4,7 +4,7 @@