mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-09 18:03:14 +08:00
init: antdv-next
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user