diff --git a/packages/ui/certd-client/src/layout/layout-outside.vue b/packages/ui/certd-client/src/layout/layout-outside.vue index 24347422d..ea63dbb32 100644 --- a/packages/ui/certd-client/src/layout/layout-outside.vue +++ b/packages/ui/certd-client/src/layout/layout-outside.vue @@ -4,10 +4,10 @@
- +
-
{{ sloganRef }}
+
{{ siteInfo.slogan }}
diff --git a/packages/ui/certd-client/src/store/modules/settings.ts b/packages/ui/certd-client/src/store/modules/settings.ts index dd17c67b2..9fc565a6c 100644 --- a/packages/ui/certd-client/src/store/modules/settings.ts +++ b/packages/ui/certd-client/src/store/modules/settings.ts @@ -131,18 +131,15 @@ export const useSettingStore = defineStore({ } }, async loadSysSettings() { + await this.loadSysPublicSettings(); + await this.loadInstallInfo(); + await this.loadPlusInfo(); + await this.loadSiteInfo(); + await this.checkUrlBound(); + }, + async loadSysPublicSettings() { const settings = await basicApi.getSysPublicSettings(); _.merge(this.sysPublic, settings); - - await this.loadInstallInfo(); - - await this.loadPlusInfo(); - - if (this.isComm) { - await this.loadSiteInfo(); - } - - await this.checkUrlBound(); }, async loadInstallInfo() { const installInfo = await basicApi.getInstallInfo();