fix(projects): 🐛 add overflow-y-auto in ElTree. fixed [#113]

This commit is contained in:
一寸灰
2025-07-02 09:09:53 +08:00
committed by GitHub
parent 020f57c44f
commit 259185777c
2 changed files with 3 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ init();
:data="tree"
node-key="id"
show-checkbox
class="h-280px"
class="h-280px overflow-y-auto"
:default-checked-keys="checks"
@check-change="checkChange"
/>

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { computed, shallowRef, watch } from 'vue';
import { $t } from '@/locales';
import { fetchGetAllPages, fetchGetMenuTree } from '@/service/api';
import { $t } from '@/locales';
defineOptions({ name: 'MenuAuthModal' });
@@ -115,7 +115,7 @@ watch(visible, val => {
:data="tree"
node-key="id"
show-checkbox
class="h-280px"
class="h-280px overflow-y-auto"
:default-checked-keys="checks"
@check-change="checkChange"
/>