fix: why even optimize
This commit is contained in:
parent
388a32bc47
commit
bb2d68d7dc
1 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ const market = async () => {
|
|||
config(n, o) {
|
||||
if (!n?.opts?.ui?.banner) {
|
||||
this.bannerImage = this.defaultBanner
|
||||
} else if (n?.opts?.ui?.banner !== o?.opts?.ui?.banner) {
|
||||
} else {
|
||||
this.bannerImage = null
|
||||
setTimeout(() => {
|
||||
this.bannerImage = this.sanitizeImageSrc(n?.opts?.ui?.banner, this.defaultBanner), 1
|
||||
|
|
@ -118,7 +118,7 @@ const market = async () => {
|
|||
}
|
||||
if (!n?.opts?.ui?.picture) {
|
||||
this.logoImage = this.defaultLogo
|
||||
} else if (n?.opts?.ui?.picture !== o?.opts?.ui?.picture) {
|
||||
} else {
|
||||
this.logoImage = null
|
||||
setTimeout(() => {
|
||||
this.logoImage = this.sanitizeImageSrc(n?.opts?.ui?.picture, this.defaultLogo), 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue