b7f0208b by lihua

fix: 删除配置规则

1 parent 9ca12c6e
......@@ -152,7 +152,7 @@ const ruleModelTableInfo = ref({
label: "删除", value: "delete", click: (scope) => {
proxy.$openMessageBox("此操作将永久删除, 是否继续?", () => {
let fieldName = scope.row.fieldName;
ruleModelTableInfo.value.data.splice(scope.row.index, 1);
ruleModelTableInfo.value.data.splice(scope.$index, 1);
updatePrivacyFormFieldsOptions(fieldName);
// 同步去掉隐私模型设置中的字段。
proxy.$ElMessage.success('删除成功');
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!