From d47bd4acad7481fa7050cd8556d1205004f2774b Mon Sep 17 00:00:00 2001 From: "fangfang.dong" Date: Fri, 7 Jul 2023 15:22:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=8D=B1?= =?UTF-8?q?=E9=99=A9=E5=91=BD=E4=BB=A4=E5=91=8A=E8=AD=A6=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?:=20Warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CommandFilterAcl/CommandFilterAclCreateUpdate.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclCreateUpdate.vue b/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclCreateUpdate.vue index 33150ce4e..372707b67 100644 --- a/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclCreateUpdate.vue +++ b/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclCreateUpdate.vue @@ -60,7 +60,7 @@ export default { } }, reviewers: { - hidden: (item) => item.action !== 'review', + hidden: (item) => !['review', 'warn'].includes(item.action), rules: [rules.RequiredChange], el: { value: [], From fc85eaf6b9ba3b3b1f6055142fabbe6271b46ec2 Mon Sep 17 00:00:00 2001 From: "fangfang.dong" Date: Mon, 10 Jul 2023 16:22:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=8D=B1?= =?UTF-8?q?=E9=99=A9=E5=91=BD=E4=BB=A4=E5=91=8A=E8=AD=A6=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?:=20Warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CommandFilterAcl/CommandFilterAclCreateUpdate.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclCreateUpdate.vue b/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclCreateUpdate.vue index 372707b67..94f83311f 100644 --- a/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclCreateUpdate.vue +++ b/src/views/acl/CommandAcl/CommandFilterAcl/CommandFilterAclCreateUpdate.vue @@ -60,7 +60,7 @@ export default { } }, reviewers: { - hidden: (item) => !['review', 'warn'].includes(item.action), + hidden: (item) => !['review', 'warning'].includes(item.action), rules: [rules.RequiredChange], el: { value: [],