通过config.json配置appKey
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -51,7 +51,7 @@ const initApp = async () => { | ... | @@ -51,7 +51,7 @@ const initApp = async () => { |
| 51 | pinia.use(piniaPluginPersistedstate); | 51 | pinia.use(piniaPluginPersistedstate); |
| 52 | 52 | ||
| 53 | // 将配置信息存储到 Pinia 中 | 53 | // 将配置信息存储到 Pinia 中 |
| 54 | const configStore = sysConfigStore(); | 54 | const configStore = sysConfigStore(pinia); |
| 55 | configStore.setConfig(config); | 55 | configStore.setConfig(config); |
| 56 | 56 | ||
| 57 | const app = createApp(App) | 57 | const app = createApp(App) | ... | ... |
-
Please register or sign in to post a comment