fix: 参数配置DNN List参数显示null问题

This commit is contained in:
TsMask
2024-02-05 17:42:07 +08:00
parent c1de94bc9d
commit 762451fccb

View File

@@ -1417,7 +1417,7 @@ onMounted(() => {
{{ text.comment }}
</template>
<div class="editable-cell">
<template v-if="text.array && Array.isArray(text.value)">
<template v-if="text.array">
<a-button
type="default"
size="small"
@@ -1431,7 +1431,11 @@ onMounted(() => {
}}
</a-button>
<!--特殊字段拓展显示-->
<span v-if="text.name === 'dnnList'">
<span
v-if="
text.name === 'dnnList' && Array.isArray(text.value)
"
>
({{
text.value.length > 4
? `${text.value