Commit cb7b1657 by Joey

fix(@rbc/rbc-login): 登录页图片加载失败白屏

parent 3e3a0fea
......@@ -253,12 +253,14 @@ export default {
bgImgCode
? this.getImgUrl(bgImgCode).then((url) => {
this.loginImageBg = url
}).finally(() => {
this.imgLoading -= 1
})
: this.imgLoading -= 1
iconCode
? this.getImgUrl(iconCode).then((url) => {
this.loginIcon = url
}).finally(() => {
this.imgLoading -= 1
})
: this.imgLoading -= 1
......@@ -267,6 +269,7 @@ export default {
boxImgCode
? this.getImgUrl(boxImgCode).then((url) => {
this.boxImgUrl = url
}).finally(() => {
this.imgLoading -= 1
})
: this.imgLoading -= 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment