forked from github/dataease
Merge pull request #10992 from dataease/pr@dev-v2_st
feat(查询组件): 下拉组件的下拉选择展示支持全部和默认两种选择 #10770
This commit is contained in:
commit
b09a648fd7
@ -257,8 +257,6 @@ const setTreeDefault = () => {
|
||||
}
|
||||
})
|
||||
const fieldObj = fieldArr.find(element => element.id === checkId)
|
||||
console.log(fieldObj, 'fieldObj', fieldArr, checkId)
|
||||
|
||||
if (!!curComponent.value.treeFieldList.length) {
|
||||
const [fir] = curComponent.value.treeFieldList
|
||||
if (fir && fir.field !== checkId) {
|
||||
@ -1517,6 +1515,15 @@ defineExpose({
|
||||
</el-select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-item" v-if="curComponent.displayType === '9'">
|
||||
<div class="label">选项值数量</div>
|
||||
<div class="value">
|
||||
<el-radio-group v-model="curComponent.resultMode">
|
||||
<el-radio :label="0">默认</el-radio>
|
||||
<el-radio :label="1">全部</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-item" v-if="curComponent.displayType === '9'">
|
||||
<div class="label" style="width: 135px; height: 26px; line-height: 26px">
|
||||
下拉树结构设计
|
||||
|
Loading…
Reference in New Issue
Block a user