|
@@ -284,6 +284,7 @@ export default {
|
|
|
this.modalTaskVisible = true
|
|
|
},
|
|
|
async handelSubmit() {
|
|
|
+ debugger
|
|
|
console.log('提交')
|
|
|
this.submitLoading = true
|
|
|
var formData = Object.assign({}, this.form)
|
|
@@ -335,6 +336,8 @@ export default {
|
|
|
this.modalTaskVisible = false
|
|
|
//刷新父组件数据
|
|
|
this.$emit('refreshToDo')
|
|
|
+ }else{
|
|
|
+ this.$message.error(res.message)
|
|
|
}
|
|
|
})
|
|
|
}
|