提交 1a1f1afc 编写于 作者: B Bull-BCLS

fix: 修复系统配置无法实时更新及登录页面显示错误

上级 d1288a0c
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册