mirror of
https://gitee.com/cai_xiao_feng/lowflow-design.git
synced 2025-12-07 16:48:22 +08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
395266c0f0
@ -12,9 +12,8 @@ watchEffect(() => {
|
|||||||
if ($props.node.def) {
|
if ($props.node.def) {
|
||||||
return showContent.value = <span>不满足条件时,进入默认条件</span>
|
return showContent.value = <span>不满足条件时,进入默认条件</span>
|
||||||
} else if ($props.node.conditions.conditions.length > 0 || $props.node.conditions.groups.length > 0) {
|
} else if ($props.node.conditions.conditions.length > 0 || $props.node.conditions.groups.length > 0) {
|
||||||
showContent.value = <span>已设置({
|
const count = $props.node.conditions.conditions.length + $props.node.conditions.groups.length
|
||||||
$props.node.conditions.conditions.length + $props.node.conditions.groups.length
|
showContent.value = <span>{`已设置(${count})个条件`}</span>
|
||||||
})个条件</span>
|
|
||||||
} else {
|
} else {
|
||||||
showContent.value = <span>未设置条件</span>
|
showContent.value = <span>未设置条件</span>
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user