mirror of https://github.com/certd/certd
chore:
parent
4b400bbfde
commit
67adddd23e
|
@ -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 />
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue