From f8867b8df117d1ac0f1311970994e15059c3da03 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期四, 05 九月 2024 15:57:36 +0800 Subject: [PATCH] add 兼容扫码问题 --- 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