From dcf2918292d3ce1f20b0e4661c5f14ada0863b6b Mon Sep 17 00:00:00 2001
From: xuxy <1059738716@qq.com>
Date: 星期四, 01 八月 2024 23:11:14 +0800
Subject: [PATCH] 1
---
components/tree-filter/tree-filter.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/components/tree-filter/tree-filter.vue b/components/tree-filter/tree-filter.vue
index cfacad9..db015cd 100644
--- a/components/tree-filter/tree-filter.vue
+++ b/components/tree-filter/tree-filter.vue
@@ -152,7 +152,7 @@
show() {
this.isOpened = true
setTimeout(() => {
- this.$refs.pickerView.updateData({
+ this.$refs.pickerView&&this.$refs.pickerView.updateData({
treeData: this._treeData,
selected: this.selected,
selectedIndex: this.selectedIndex
@@ -230,6 +230,8 @@
.tree-filter-nodes {
padding-left: 40rpx;
padding-right: 40rpx;
+ overflow-y: scroll;
+ max-height: 80vh;
.tree-filter-node {
display: flex;
--
Gitblit v1.9.3