mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-08 18:49:09 +00:00
优化pinia相关
This commit is contained in:
@@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user