forked from github/dataease
feat(查询组件): 查询组件 placeholder 内容支持设置 #11881
This commit is contained in:
parent
09050c2958
commit
2878dae213
@ -164,6 +164,7 @@ if (!chart.value.customStyle.component.hasOwnProperty('placeholderShow')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (props.element.propValue.length) {
|
if (props.element.propValue.length) {
|
||||||
|
currentPlaceholder.value = props.element.propValue[0].id
|
||||||
handleCurrentPlaceholder(props.element.propValue[0].id)
|
handleCurrentPlaceholder(props.element.propValue[0].id)
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -389,7 +390,7 @@ if (props.element.propValue.length) {
|
|||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in element.propValue.filter(ele => ele.displayType !== '8')"
|
v-for="item in element.propValue"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.name"
|
:label="item.name"
|
||||||
:value="item.id"
|
:value="item.id"
|
||||||
|
Loading…
Reference in New Issue
Block a user