Merge pull request #20 from Bull-BCLS/dev

fix: 修复系统配置无法实时更新及登录页面显示错误
This commit is contained in:
Charles7c 2023-09-23 21:35:31 +08:00 committed by GitHub
commit b7c504ab8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ const recursionMenu = (
}); });
}; };
const useAppStore = defineStore('app', { const useAppStore = defineStore('app', {
state: (): AppState => ({ ...defaultSettings }), state: (): AppState => ({ ...defaultSettings, config: {} }),
getters: { getters: {
appCurrentSetting(state: AppState): AppState { appCurrentSetting(state: AppState): AppState {

View File

@ -24,5 +24,5 @@ export interface AppState {
menuFromServer: boolean; menuFromServer: boolean;
serverMenu: RouteRecordNormalized[]; serverMenu: RouteRecordNormalized[];
[key: string]: unknown; [key: string]: unknown;
config?: Config; config: Config;
} }

View File

@ -184,7 +184,7 @@
<style lang="less" scoped> <style lang="less" scoped>
.login-form { .login-form {
margin-top: 32px; margin-top: 15px;
&-wrapper { &-wrapper {
width: 320px; width: 320px;
} }