review:【ANTD】相关的代码

This commit is contained in:
YunaiV
2025-06-15 16:54:18 +08:00
parent a15d4e8dfe
commit 797730ca01
4 changed files with 3 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import { defineAsyncComponent } from 'vue';
const modules = import.meta.glob('../views/**/*.{vue,tsx}');
// TODO @xingyu这个要不要融合到哪个 router util 里? utils 里面没有引入 vue 使用不了 defineAsyncComponent
/**
* 注册一个异步组件
* @param componentPath 例:/bpm/oa/leave/detail

View File

@@ -135,7 +135,6 @@ function getAllNodeIds(nodes: any[], ids: number[] = []): number[] {
<Modal title="数据权限" class="w-[40%]">
<Form class="mx-4">
<template #dataScopeDeptIds="slotProps">
<!-- TODO @芋艿可优化使用 antd tree原因是更原生 -->
<VbenTree
:tree-data="deptTree"
multiple

View File

@@ -142,7 +142,6 @@ function getNodeClass(node: Recordable<any>) {
<Modal title="数据权限" class="w-[40%]">
<Form class="mx-4">
<template #menuIds="slotProps">
<!-- TODO @芋艿可优化使用 antd tree原因是更原生 -->
<VbenTree
:spinning="menuLoading"
:tree-data="menuTree"