2261151b by lihua

fix: 策略信息删除问题

1 parent 35acf679
......@@ -595,8 +595,9 @@ const handleConditionDelete = (scope) => {
} else {
//同步删除操作行为
proxy.$openMessageBox("确定要删除该行为类型和约束条件吗?", () => {
let index = scope.$index;
strategyValueInfo.value.splice(index, 1);
let index = scope.row.index;
let delIndex = strategyValueInfo.value.findIndex(s => s.index == index);
strategyValueInfo.value.splice(delIndex, 1);
proxy.$ElMessage.success('删除成功');
}, () => {
proxy.$ElMessage.info("已取消删除");
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!