diff --git a/src/store/modules/app.ts b/src/store/modules/app.ts index efd92961..82b0b1ab 100644 --- a/src/store/modules/app.ts +++ b/src/store/modules/app.ts @@ -1,7 +1,6 @@ import { getSysConf } from '@/api'; import defaultLOGOIcon from '@/assets/logo_icon.png'; import defaultLOGOBrand from '@/assets/logo_brand.png'; -import defaultLoginBackground from '@/assets/background.svg'; import { RESULT_CODE_SUCCESS } from '@/constants/result-constants'; import { validHttp } from '@/utils/regular-utils'; import { defineStore } from 'pinia'; @@ -80,7 +79,7 @@ const useAppStore = defineStore('app', { getLoginBackground(state) { const path = state.loginBackground; if (!path) { - return defaultLoginBackground; + return ''; } if (validHttp(path)) { return path; diff --git a/src/views/login.vue b/src/views/login.vue index 491b1149..91a55bde 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -1,7 +1,6 @@ diff --git a/src/views/system/setting/components/change-login-bg.vue b/src/views/system/setting/components/change-login-bg.vue index 892d7439..03edc1b7 100644 --- a/src/views/system/setting/components/change-login-bg.vue +++ b/src/views/system/setting/components/change-login-bg.vue @@ -131,7 +131,9 @@ onMounted(() => { :before-upload="fnBeforeUpload" :custom-request="fnUpload" > - 上传背景 + + 上传背景 +