Merge remote-tracking branch 'origin/main'

This commit is contained in:
caixiaofeng 2024-01-23 14:13:29 +08:00
commit 395266c0f0

View File

@ -12,9 +12,8 @@ watchEffect(() => {
if ($props.node.def) {
return showContent.value = <span>不满足条件时进入默认条件</span>
} else if ($props.node.conditions.conditions.length > 0 || $props.node.conditions.groups.length > 0) {
showContent.value = <span>已设置{
$props.node.conditions.conditions.length + $props.node.conditions.groups.length
}个条件</span>
const count = $props.node.conditions.conditions.length + $props.node.conditions.groups.length
showContent.value = <span>{`已设置(${count})个条件`}</span>
} else {
showContent.value = <span>未设置条件</span>
}