Commit 50f71beb by pangchong

feat: 左边菜单横向滚动

parent b5f08bf7
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
v-model:selected-keys="treeSelectedKeys" v-model:selected-keys="treeSelectedKeys"
:pattern="searchKey" :pattern="searchKey"
block-line block-line
virtual-scroll block-node
/> />
</div> </div>
</div> </div>
...@@ -41,3 +41,9 @@ watch( ...@@ -41,3 +41,9 @@ watch(
{ flush: 'post', deep: true } { flush: 'post', deep: true }
) )
</script> </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