|
|
@ -238,9 +238,9 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
// 删除问题项 |
|
|
|
handleDelItem(item) { |
|
|
|
handleDelItem(item, index) { |
|
|
|
if (!item.id) { |
|
|
|
this.questList = this.questList.filter((v) => v.id); |
|
|
|
this.questList.splice(index, 1); |
|
|
|
} else { |
|
|
|
this.$confirm("是否删除该问题项", "提示", { |
|
|
|
confirmButtonText: "确定", |
|
|
|