fix: 背景图支持还原默认
This commit is contained in:
@@ -78,8 +78,8 @@ const useAppStore = defineStore('app', {
|
||||
*/
|
||||
getLoginBackground(state) {
|
||||
const path = state.loginBackground;
|
||||
if (!path) {
|
||||
return '';
|
||||
if (!path || path === '#') {
|
||||
return '#';
|
||||
}
|
||||
if (validHttp(path)) {
|
||||
return path;
|
||||
|
||||
Reference in New Issue
Block a user