vue+ant vue select下拉框内容文本过长悬浮显示的方法
vue+antdselect下拉框内容文本过长鼠标悬浮显示的方法```javascript<a-form-item label="结果:"><a-selectallowClearshow-searchoption-filter-prop="children"v-decorator="['fileresults',{ rul
·
vue+antd select下拉框内容文本过长鼠标悬浮显示的方法
```javascript
<a-form-item label="结果:">
<a-select
allowClear
show-search
option-filter-prop="children"
v-decorator="[
'fileresults',
{ rules: [{ required: true, message: '请选择标记结果!' }] },
]"
placeholder="请选择标记结果"
>
<a-select-option v-for="d in fileresult" :key="d" :title="d">
{{ d }}
</a-select-option>
</a-select>
</a-form-item>
更多推荐
已为社区贡献4条内容
所有评论(0)