mirror of
https://github.com/certd/certd.git
synced 2026-05-15 04:27:31 +08:00
chore:
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user