style: 登录页面样式修改
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user