fix small condition (#320)
This commit is contained in:
parent
8e4d0f7ec6
commit
46ebf2ec4c
|
@ -468,7 +468,7 @@ export default {
|
|||
return true
|
||||
},
|
||||
optionsText () {
|
||||
if (this.field[this.field.type]) return ''
|
||||
if (!this.field[this.field.type]) return ''
|
||||
return this.field[this.field.type].options.map(option => {
|
||||
return option.name
|
||||
}).join('\n')
|
||||
|
|
Loading…
Reference in New Issue