feat(查询组件): 查询组件 placeholder 内容支持设置 #11881

This commit is contained in:
dataeaseShu 2024-10-08 10:39:19 +08:00
parent 09050c2958
commit 2878dae213

View File

@ -164,6 +164,7 @@ if (!chart.value.customStyle.component.hasOwnProperty('placeholderShow')) {
}
if (props.element.propValue.length) {
currentPlaceholder.value = props.element.propValue[0].id
handleCurrentPlaceholder(props.element.propValue[0].id)
}
</script>
@ -389,7 +390,7 @@ if (props.element.propValue.length) {
style="width: 100%"
>
<el-option
v-for="item in element.propValue.filter(ele => ele.displayType !== '8')"
v-for="item in element.propValue"
:key="item.id"
:label="item.name"
:value="item.id"