style: 登录页面样式修改

This commit is contained in:
TsMask
2023-10-28 19:43:54 +08:00
parent b6f685e389
commit 0faeeec2d9
3 changed files with 153 additions and 95 deletions

View File

@@ -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;