优化pinia相关

This commit is contained in:
zhangtao
2025-01-10 19:37:56 +08:00
parent 1ae731eafe
commit 01c3cb1368
10 changed files with 71 additions and 53 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ app.use(pinia);
const initConfig = async () => {
const configStore = useConfigStore();
await configStore.fetchConfig();
await configStore.getConfig();
const loginTitle = configStore.getConfigValue("title");
const loginLogo = configStore.getConfigValue("favicon");
@@ -39,4 +39,4 @@ initConfig().then(() => {
app.use(Antd);
app.component("VChart", VChart);
app.mount("#app");
});
});