|
@@ -158,6 +158,7 @@ export default {
|
|
|
this.$api.task.taskRemove({ taskId: this.taskId, ids: row.id }).then(res => {
|
|
this.$api.task.taskRemove({ taskId: this.taskId, ids: row.id }).then(res => {
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
|
this.$message.success(res.msg)
|
|
this.$message.success(res.msg)
|
|
|
|
|
+ this.data = this.data.filter(sub => sub.id !== row.id)
|
|
|
} else {
|
|
} else {
|
|
|
this.$message.error(res.msg)
|
|
this.$message.error(res.msg)
|
|
|
}
|
|
}
|