diff --git a/frontend/src/App.vue b/frontend/src/App.vue index b449c9cc7c..182e34f006 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -52,7 +52,6 @@ onBeforeMount(async () => { try { - await appStore.initSystemPackage(); // 初始化系统包版本 await appStore.initSystemVersion(); // 初始化系统版本 // 企业版才校验license if (appStore.packageType === 'enterprise') { diff --git a/frontend/src/api/modules/system.ts b/frontend/src/api/modules/system.ts index 0fd5fd06a5..15479aade4 100644 --- a/frontend/src/api/modules/system.ts +++ b/frontend/src/api/modules/system.ts @@ -19,5 +19,5 @@ export function switchUserOrg(organizationId: string, userId: string) { // 获取当前系统的版本 export function getPackageType() { - return MSR.get<'community' | 'enterprise'>({ url: PackageTypeUrl }, { ignoreCancelToken: true }); + return MSR.get({ url: PackageTypeUrl }); } diff --git a/frontend/src/assets/style/arco-reset.less b/frontend/src/assets/style/arco-reset.less index 2082dbd225..6e38e16e1c 100644 --- a/frontend/src/assets/style/arco-reset.less +++ b/frontend/src/assets/style/arco-reset.less @@ -78,6 +78,11 @@ margin-top: 16px; } } +.arco-modal-wrapper.arco-modal-wrapper-align-center { + .arco-modal { + top: -5% !important; + } +} .ms-usemodal { .arco-modal-body { @apply p-0; diff --git a/frontend/src/components/business/ms-personal-drawer/components/localExec.vue b/frontend/src/components/business/ms-personal-drawer/components/localExec.vue index e40cfecbf7..564dab39fe 100644 --- a/frontend/src/components/business/ms-personal-drawer/components/localExec.vue +++ b/frontend/src/components/business/ms-personal-drawer/components/localExec.vue @@ -48,7 +48,7 @@ -
+
{{ t('ms.personal.uiLocalExecution') }}
{ + appStore.initSystemPackage(); + });