Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
rbc-demo
Commits
cb7b1657
Commit
cb7b1657
authored
May 11, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@rbc/rbc-login): 登录页图片加载失败白屏
parent
3e3a0fea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
index.vue
develop/@rbc/rbc-login/src/views/login/index.vue
+12
-9
No files found.
develop/@rbc/rbc-login/src/views/login/index.vue
View file @
cb7b1657
...
@@ -252,23 +252,26 @@ export default {
...
@@ -252,23 +252,26 @@ export default {
this
.
loginTitle
=
obj
[
0
]
&&
obj
[
0
].
title
||
this
.
loginTitle
this
.
loginTitle
=
obj
[
0
]
&&
obj
[
0
].
title
||
this
.
loginTitle
bgImgCode
bgImgCode
?
this
.
getImgUrl
(
bgImgCode
).
then
((
url
)
=>
{
?
this
.
getImgUrl
(
bgImgCode
).
then
((
url
)
=>
{
this
.
loginImageBg
=
url
this
.
loginImageBg
=
url
this
.
imgLoading
-=
1
}).
finally
(()
=>
{
})
this
.
imgLoading
-=
1
})
:
this
.
imgLoading
-=
1
:
this
.
imgLoading
-=
1
iconCode
iconCode
?
this
.
getImgUrl
(
iconCode
).
then
((
url
)
=>
{
?
this
.
getImgUrl
(
iconCode
).
then
((
url
)
=>
{
this
.
loginIcon
=
url
this
.
loginIcon
=
url
this
.
imgLoading
-=
1
}).
finally
(()
=>
{
})
this
.
imgLoading
-=
1
})
:
this
.
imgLoading
-=
1
:
this
.
imgLoading
-=
1
const
boxImgCode
=
obj
[
1
]
&&
obj
[
1
].
icon
const
boxImgCode
=
obj
[
1
]
&&
obj
[
1
].
icon
this
.
titleColor
=
obj
[
1
]
&&
obj
[
1
].
ext1
||
this
.
titleColor
this
.
titleColor
=
obj
[
1
]
&&
obj
[
1
].
ext1
||
this
.
titleColor
boxImgCode
boxImgCode
?
this
.
getImgUrl
(
boxImgCode
).
then
((
url
)
=>
{
?
this
.
getImgUrl
(
boxImgCode
).
then
((
url
)
=>
{
this
.
boxImgUrl
=
url
this
.
boxImgUrl
=
url
this
.
imgLoading
-=
1
}).
finally
(()
=>
{
})
this
.
imgLoading
-=
1
})
:
this
.
imgLoading
-=
1
:
this
.
imgLoading
-=
1
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
imgLoading
=
0
this
.
imgLoading
=
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment