截止‘运力管理’模块
This commit is contained in:
@@ -83,7 +83,6 @@ import { mapGetters } from 'vuex';
|
||||
import { info } from '@/api/system/tenant';
|
||||
import { getCaptcha } from '@/api/user';
|
||||
import { getTopUrl } from '@/utils/util';
|
||||
import { validatenull } from '@/utils/validate';
|
||||
import BehaviorCaptcha from '@/components/behavior-captcha/index.vue';
|
||||
|
||||
export default {
|
||||
@@ -201,13 +200,6 @@ export default {
|
||||
if (data.success && data.data.tenantId) {
|
||||
this.tenantMode = false;
|
||||
this.loginForm.tenantId = data.data.tenantId;
|
||||
if (!validatenull(data.data.backgroundUrl)) {
|
||||
const loginEl = this.$parent.$refs.login;
|
||||
loginEl.style.backgroundImage = `url(${data.data.backgroundUrl})`;
|
||||
loginEl.style.backgroundSize = '100% 100%';
|
||||
loginEl.style.backgroundRepeat = 'no-repeat';
|
||||
loginEl.style.backgroundPosition = 'center center';
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user