菜单table改为树型结构

This commit is contained in:
wu.jifen
2025-04-23 19:21:41 +08:00
parent ed55797fe3
commit 04501e7385
3 changed files with 12 additions and 6 deletions

View File

@@ -16,7 +16,7 @@
:max-height="maxHeight || null"
@selection-change="handleSelectionChange"
@row-click="handleRowClick"
:tree-props="{ children: 'childList' }"
:tree-props="{ children: 'children' }"
>
<template v-for="(item, index) in columns">
<!--没有type 的模板-->