init: antdv-next

This commit is contained in:
dap
2026-01-08 20:56:07 +08:00
parent 1383f63361
commit a208034539
251 changed files with 417 additions and 401 deletions

View File

@@ -6,7 +6,7 @@ import type { DeptTree } from '#/api/system/user/model';
import { onMounted, ref } from 'vue';
import { SyncOutlined } from '@ant-design/icons-vue';
import { Empty, InputSearch, Skeleton, Tree } from 'ant-design-vue';
import { Empty, InputSearch, Skeleton, Tree } from 'antdv-next';
import { getDeptTree } from '#/api/system/user';
@@ -83,12 +83,12 @@ onMounted(loadTree);
class="p-[8px]"
>
<div
class="bg-background flex h-full flex-col overflow-y-auto rounded-lg"
class="flex h-full flex-col overflow-y-auto rounded-lg bg-background"
>
<!-- 固定在顶部 必须加上bg-background背景色 否则会产生'穿透'效果 -->
<div
v-if="showSearch"
class="bg-background z-100 sticky left-0 top-0 p-[8px]"
class="sticky left-0 top-0 z-100 bg-background p-[8px]"
>
<InputSearch
v-model:value="searchValue"