From c9ece393fc028ffecca0915d1b9af62d51b5aef6 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期二, 13 八月 2024 17:21:19 +0800 Subject: [PATCH] 1 --- uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-picker.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-picker.js b/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-picker.js index cfae22a..40ded6b 100644 --- a/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-picker.js +++ b/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-picker.js @@ -92,6 +92,10 @@ type: Boolean, default: false }, + area:{ + type: Boolean, + default: false + }, map: { type: Object, default () { @@ -216,9 +220,10 @@ inputValue = inputValue[this.map.value]; } } - + this.selected = this._findNodePath(inputValue, this.localdata); - }, + console.log('_findNodePath',inputValue,this.localdata) + }, // 加载 Cloud 数据 (单列) async loadCloudDataList() { -- Gitblit v1.9.3