From 79efafb36c60cf26bc82baa91416dae3c9ea5ac2 Mon Sep 17 00:00:00 2001 From: v_xugzhou <941071842@qq.com> Date: Mon, 11 Nov 2024 16:04:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B2=A1=E6=9C=89=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E8=A7=84=E5=88=99=E5=8D=B3=E5=8F=AF=E5=88=9B=E5=BB=BA=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E5=86=B3=E7=AD=96=E8=A1=A8=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20--story=3D130966859=20#=20Reviewed,=20transaction?= =?UTF-8?q?=20id:=2023451?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/Space/DecisionTable/components/DecisionEdit.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/views/admin/Space/DecisionTable/components/DecisionEdit.vue b/frontend/src/views/admin/Space/DecisionTable/components/DecisionEdit.vue index d405bb2..80c77d1 100644 --- a/frontend/src/views/admin/Space/DecisionTable/components/DecisionEdit.vue +++ b/frontend/src/views/admin/Space/DecisionTable/components/DecisionEdit.vue @@ -273,6 +273,13 @@ || ['is-null', 'not-null'].includes(conditions[0]?.compare) || conditions[0]?.right.obj.value; }); + if (!data.records.length) { + this.$bkMessage({ + message: this.$t('请至少完整填写一条规则'), + theme: 'error', + }); + return; + } const params = { id: this.decisionId, space_id: this.spaceId,