vue-treeselect 组件官网中文网站: https://www.vue-treeselect.cn/
需要背景: 在el-tabs内容中增加此组件呈现被遮挡问题
通过文档查问解决办法
<treeselect
v-model="params.wardIds"
:options="hospitalWardTree"
value-consists-of="LEAF_PRIORITY"
placeholder="请抉择(可多选)"
:multiple="true"
class="topSearchTree"
no-options-text="临时没有内容"
no-children-text="临时没有内容"
no-results-text="没有匹配内容"
:normalizer="normalizer"
:appendToBody="true"
/>
appendToBody属性设置为true 则能够解决被遮挡问题
记录一下,以防之后遗记
发表回复