mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 12:01:57 +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')
|
||||
},
|
||||
backgroundForm() {
|
||||
if (this.isEmptyValue(this.organizationImagePath)) {
|
||||
return this.defaultImage
|
||||
}
|
||||
if (this.isEmptyValue(this.currentImageOfProduct)) {
|
||||
return this.organizationBackground
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user