mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-12 22:29:59 +08:00
Add default image when organizationImagePath is Empty (#559)
This commit is contained in:
parent
0cdca9ded5
commit
122c5233bc
@ -117,6 +117,9 @@ export default {
|
|||||||
return require('@/image/ADempiere/priceChecking/no-image.jpg')
|
return require('@/image/ADempiere/priceChecking/no-image.jpg')
|
||||||
},
|
},
|
||||||
backgroundForm() {
|
backgroundForm() {
|
||||||
|
if (this.isEmptyValue(this.organizationImagePath)) {
|
||||||
|
return this.defaultImage
|
||||||
|
}
|
||||||
if (this.isEmptyValue(this.currentImageOfProduct)) {
|
if (this.isEmptyValue(this.currentImageOfProduct)) {
|
||||||
return this.organizationBackground
|
return this.organizationBackground
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user