From 2c3614061cfa88fc0a7d653f02238e3e23f16ec5 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 28 八月 2024 18:34:43 +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