review:【ANTD】相关的代码

pull/144/MERGE
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"

View File

@ -18,12 +18,13 @@ function goToUrl() {
</script>
<template>
<!-- Alert Component -->
<!-- TODO @xingyu是不是左右边距 + 和搜索的对齐会好看一丢丢的 -->
<div
role="alert"
v-if="isDocAlertEnable()"
:class="
cn(
'border-primary bg-primary/10 relative m-1 flex w-full items-center rounded-md border p-1',
'border-primary bg-primary/10 relative m-1 flex w-full items-center gap-5 rounded-md border p-1',
)
"
>