pull/213/head
xiaojunnuo 2024-10-05 02:16:17 +08:00
parent 4b400bbfde
commit 67adddd23e
2 changed files with 9 additions and 12 deletions

View File

@ -4,10 +4,10 @@
<div class="user-layout-content flex-center flex-col"> <div class="user-layout-content flex-center flex-col">
<div class="top flex flex-col items-center justify-center"> <div class="top flex flex-col items-center justify-center">
<div class="header flex flex-row items-center"> <div class="header flex flex-row items-center">
<img :src="logoRef" class="logo" alt="logo" /> <img :src="siteInfo.loginLogo" class="logo" alt="logo" />
<span class="title"></span> <span class="title"></span>
</div> </div>
<div class="desc">{{ sloganRef }}</div> <div class="desc">{{ siteInfo.slogan }}</div>
</div> </div>
<router-view /> <router-view />

View File

@ -131,18 +131,15 @@ export const useSettingStore = defineStore({
} }
}, },
async loadSysSettings() { async loadSysSettings() {
await this.loadSysPublicSettings();
await this.loadInstallInfo();
await this.loadPlusInfo();
await this.loadSiteInfo();
await this.checkUrlBound();
},
async loadSysPublicSettings() {
const settings = await basicApi.getSysPublicSettings(); const settings = await basicApi.getSysPublicSettings();
_.merge(this.sysPublic, settings); _.merge(this.sysPublic, settings);
await this.loadInstallInfo();
await this.loadPlusInfo();
if (this.isComm) {
await this.loadSiteInfo();
}
await this.checkUrlBound();
}, },
async loadInstallInfo() { async loadInstallInfo() {
const installInfo = await basicApi.getInstallInfo(); const installInfo = await basicApi.getInstallInfo();