bug
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
|
||||
save () {
|
||||
for (let i = 0; i < this.config.length; i ++) {
|
||||
if ((this.config[i].fieldType === '0' || this.config[i].fieldType === '1') && !this.config[i].defaultValue && this.config[i].status === '1') {
|
||||
if (['2', '3', '4', '5'].indexOf(this.config[i].fieldType) === -1 && !this.config[i].defaultValue && this.config[i].status === '1') {
|
||||
return this.$u.toast(`请输入${this.mapFieldLable(this.config[i].type)}`)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user