From aee5272d23ade39f178d6b3c2032a29db6752aca Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期一, 21 十月 2024 13:18:52 +0800
Subject: [PATCH] update 首页定位
---
components/tree-filter/tree-filter.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/components/tree-filter/tree-filter.vue b/components/tree-filter/tree-filter.vue
index 2a31d26..8a1c006 100644
--- a/components/tree-filter/tree-filter.vue
+++ b/components/tree-filter/tree-filter.vue
@@ -78,6 +78,7 @@
};
},
methods: {
+
async updateSearch() {
//todo 递归搜索下面的数据,,并标记为可展示的
console.log('updateSearch', this.localdata)
@@ -95,6 +96,9 @@
// this.selectedClear()
// }
// }, 200)
+ },
+ initData(){
+
},
//数据
selectedClear() {
@@ -148,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
@@ -226,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