From fa9c8374664a2afa5f5f995ad2697d5f4aa71203 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期一, 23 十二月 2024 17:22:00 +0800 Subject: [PATCH] 1.微信登录 --- components/tree-filter/tree-filter.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/components/tree-filter/tree-filter.vue b/components/tree-filter/tree-filter.vue index cfacad9..8a1c006 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,9 @@ .tree-filter-nodes { padding-left: 40rpx; padding-right: 40rpx; + overflow-y: scroll; + max-height: calc(75vh - 140rpx); + padding-bottom: 60rpx; .tree-filter-node { display: flex; -- Gitblit v1.9.3