fix: 参数配置嵌套展开加图标按钮类型
This commit is contained in:
@@ -1383,18 +1383,17 @@ onMounted(() => {
|
||||
</a-select>
|
||||
</div>
|
||||
|
||||
<template v-if="item.array">
|
||||
<template v-else-if="item.array">
|
||||
<span v-if="arrayState.newIndex === -1">-</span>
|
||||
<a-button
|
||||
type="link"
|
||||
type="default"
|
||||
size="small"
|
||||
@click.prevent="arrayChildExpand(data.key, item)"
|
||||
v-else
|
||||
>
|
||||
<template #icon><BarsOutlined /></template>
|
||||
{{
|
||||
arrayState.newIndex === -1
|
||||
? '-'
|
||||
: t(
|
||||
'views.configManage.configParamForm.arrayMore'
|
||||
)
|
||||
t('views.configManage.configParamForm.arrayMore')
|
||||
}}
|
||||
</a-button>
|
||||
<!--特殊字段拓展显示-->
|
||||
@@ -1414,6 +1413,7 @@ onMounted(() => {
|
||||
#extra
|
||||
v-if="
|
||||
Array.isArray(item.array) &&
|
||||
arrayChildState.loc.startsWith(data.key) &&
|
||||
item.display === arrayChildState.title
|
||||
"
|
||||
>
|
||||
@@ -1613,19 +1613,25 @@ onMounted(() => {
|
||||
</a-select>
|
||||
</div>
|
||||
|
||||
<a-button
|
||||
type="link"
|
||||
size="small"
|
||||
v-else-if="item.array"
|
||||
>
|
||||
{{
|
||||
arrayChildState.newIndex === -1
|
||||
? '-'
|
||||
: t(
|
||||
'views.configManage.configParamForm.arrayMore'
|
||||
)
|
||||
}}
|
||||
</a-button>
|
||||
<template v-else-if="item.array">
|
||||
<span v-if="arrayChildState.newIndex === -1">
|
||||
-
|
||||
</span>
|
||||
<a-button
|
||||
type="default"
|
||||
size="small"
|
||||
v-else
|
||||
>
|
||||
<template #icon>
|
||||
<BarsOutlined />
|
||||
</template>
|
||||
{{
|
||||
t(
|
||||
'views.configManage.configParamForm.arrayMore'
|
||||
)
|
||||
}}
|
||||
</a-button>
|
||||
</template>
|
||||
|
||||
<div v-else>
|
||||
{{ `${item.value || ' '}` }}
|
||||
|
||||
Reference in New Issue
Block a user