feat:【antd/ele】【mp】菜单的 review

This commit is contained in:
YunaiV
2025-11-23 21:03:36 +08:00
parent 5622b810e4
commit cc7e8eda4f
5 changed files with 11 additions and 16 deletions

View File

@@ -140,6 +140,7 @@ function onChildDragEnd({ newIndex }: { newIndex: number }) {
"
@click="menuClicked(parent, x)"
>
<!-- TODO @hw尽量用中立的 lucide icon -->
<IconifyIcon icon="ep:fold" color="black" />{{ parent.name }}
</div>
<!-- 以下为二级菜单-->
@@ -179,6 +180,7 @@ function onChildDragEnd({ newIndex }: { newIndex: number }) {
v-if="!parent.children || parent.children.length < 5"
@click="addSubMenu(x, parent)"
>
<!-- TODO @hw尽量用中立的 lucide icon -->
<IconifyIcon icon="ep:plus" class="" />
</div>
</div>
@@ -192,9 +194,11 @@ function onChildDragEnd({ newIndex }: { newIndex: number }) {
v-if="menuList.length < 3"
@click="addMenu"
>
<!-- TODO @hw尽量用中立的 lucide icon -->
<IconifyIcon icon="ep:plus" class="" />
</div>
</template>
<style lang="scss" scoped>
.draggable-ghost {
background: #f7fafc;