Showing
1 changed file
with
4 additions
and
0 deletions
| @@ -251,7 +251,11 @@ export struct EmptyComponent { | @@ -251,7 +251,11 @@ export struct EmptyComponent { | ||
| 251 | } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoSearchResult) { | 251 | } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoSearchResult) { |
| 252 | imageString = $r('app.media.icon_no_result1') | 252 | imageString = $r('app.media.icon_no_result1') |
| 253 | } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoNetwork) { | 253 | } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoNetwork) { |
| 254 | + if(this.isBlack) { | ||
| 255 | + imageString = $r('app.media.icon_no_net') | ||
| 256 | + } else { | ||
| 254 | imageString = $r('app.media.icon_no_net1') | 257 | imageString = $r('app.media.icon_no_net1') |
| 258 | + } | ||
| 255 | } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_ContentFailed) { | 259 | } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_ContentFailed) { |
| 256 | imageString = $r('app.media.icon_no_content') | 260 | imageString = $r('app.media.icon_no_content') |
| 257 | } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoCreation) { | 261 | } else if (this.emptyType === WDViewDefaultType.WDViewDefaultType_NoCreation) { |
-
Please register or login to post a comment