报错失效

product
mhsnet 2 years ago
parent 2de67ebae5
commit f2421dd231

@ -186,6 +186,8 @@ export default {
this.$emit('refresh', true)
}
})
}).catch((err) => {
this.submitDisabled = false
})
} else {
request({
@ -203,6 +205,8 @@ export default {
this.$emit('refresh', true)
}
})
}).catch((err) => {
this.submitDisabled = false
})
}
},
@ -214,7 +218,7 @@ export default {
dataInfo(dataAll) {
let _dataAll = dataAll
_dataAll.photos = JSON.parse(_dataAll.photos)
if(_dataAll.photos == ''||_dataAll.photos == null){
if (_dataAll.photos == '' || _dataAll.photos == null) {
_dataAll.photos = [];
}
this.dataForm = _dataAll

@ -192,6 +192,8 @@
this.$emit('refresh', true)
}
})
}).catch((err)=>{
this.submitDisabled = false
})
} else {
request({
@ -209,6 +211,8 @@
this.$emit('refresh', true)
}
})
}).catch((err)=>{
this.submitDisabled = false
})
}
},

Loading…
Cancel
Save