Skip to content

Commit

Permalink
fix: 没有配置规则即可创建成功决策表问题修复 --story=130966859
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 23451
  • Loading branch information
ywywZhou committed Nov 11, 2024
1 parent 28ce9ed commit 79efafb
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 79efafb

Please sign in to comment.