mirror of
https://gitee.com/honghuangdc/soybean-admin-element-plus.git
synced 2025-12-30 10:22:25 +00:00
fix(projects): 🐛 add overflow-y-auto in ElTree. fixed [#113]
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user