Commit 50f71beb by pangchong

feat: 左边菜单横向滚动

parent b5f08bf7
......@@ -12,7 +12,7 @@
v-model:selected-keys="treeSelectedKeys"
:pattern="searchKey"
block-line
virtual-scroll
block-node
/>
</div>
</div>
......@@ -41,3 +41,9 @@ watch(
{ flush: 'post', deep: true }
)
</script>
<style lang="less" scoped>
:deep(.n-tree .n-tree-node-content .n-tree-node-content__text) {
white-space: nowrap;
display: flex;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment