vue-treeselect-下拉框内容换行展示

This commit is contained in:
bb_pan 2025-07-22 14:07:00 +08:00
parent 7863f38050
commit 4760ff4415
1 changed files with 14 additions and 1 deletions

View File

@ -49,9 +49,22 @@ export default {
};
</script>
<style scoped>
<style>
/* 隐藏主题选择器组件 */
#app .theme-picker {
display: none;
}
/* 下拉框内容换行展示 */
.vue-treeselect__option,
.vue-treeselect__label {
white-space: normal !important;
overflow: visible !important;
text-overflow: unset !important;
word-break: break-word !important;
line-height: normal !important;
}
.vue-treeselect__menu {
width: auto !important;
}
</style>