Add default image when organizationImagePath is Empty (#559)
parent
0cdca9ded5
commit
122c5233bc
|
@ -117,6 +117,9 @@ export default {
|
|||
return require('@/image/ADempiere/priceChecking/no-image.jpg')
|
||||
},
|
||||
backgroundForm() {
|
||||
if (this.isEmptyValue(this.organizationImagePath)) {
|
||||
return this.defaultImage
|
||||
}
|
||||
if (this.isEmptyValue(this.currentImageOfProduct)) {
|
||||
return this.organizationBackground
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue