fix: 修复系统配置无法实时更新及登录页面显示错误
This commit is contained in:
parent
d1288a0c4f
commit
1a1f1afc7e
@ -27,7 +27,7 @@ const recursionMenu = (
|
||||
});
|
||||
};
|
||||
const useAppStore = defineStore('app', {
|
||||
state: (): AppState => ({ ...defaultSettings }),
|
||||
state: (): AppState => ({ ...defaultSettings, config: {} }),
|
||||
|
||||
getters: {
|
||||
appCurrentSetting(state: AppState): AppState {
|
||||
|
@ -24,5 +24,5 @@ export interface AppState {
|
||||
menuFromServer: boolean;
|
||||
serverMenu: RouteRecordNormalized[];
|
||||
[key: string]: unknown;
|
||||
config?: Config;
|
||||
config: Config;
|
||||
}
|
||||
|
@ -184,7 +184,7 @@
|
||||
|
||||
<style lang="less" scoped>
|
||||
.login-form {
|
||||
margin-top: 32px;
|
||||
margin-top: 15px;
|
||||
&-wrapper {
|
||||
width: 320px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user