fix: 背景图支持还原默认
This commit is contained in:
@@ -89,7 +89,7 @@ function fnGetCaptcha() {
|
||||
// 判断是否有背景地址
|
||||
const calcBG = computed(() => {
|
||||
const bgURL = appStore.getLoginBackground;
|
||||
if (bgURL) {
|
||||
if (bgURL && bgURL !== '#') {
|
||||
return {
|
||||
backgroundImage: `url(${bgURL})`,
|
||||
backgroundPosition: 'center',
|
||||
@@ -101,9 +101,6 @@ const calcBG = computed(() => {
|
||||
|
||||
onMounted(() => {
|
||||
fnGetCaptcha();
|
||||
const container = document.getElementsByClassName('container').item(0);
|
||||
if (container) {
|
||||
}
|
||||
});
|
||||
|
||||
/**改变多语言 */
|
||||
|
||||
Reference in New Issue
Block a user