JDictSelectTag有一个属性showChooseOption,将showChooseOption设置为false即可
例如:在xx.data.js中
{
label: 'commissionType',
field: 'commissionType',
component: 'JDictSelectTag',
colProps: { span: 8},
componentProps: {
dictCode: 'tpay_commission_type',
showChooseOption:false
},
labelWidth:locale=='bur'?120:110
},
在页面中
<JDictSelectTag v-model:value="formData.type" dictCode="tpay_commission_type" :showChooseOption='false'/>
本文介绍了如何在JDictSelectTag组件中通过设置showChooseOption属性为false来隐藏下拉选择的多选选项,并提供了在data.js中的配置示例以及页面中的绑定方式。

1万+

被折叠的 条评论
为什么被折叠?



