From e77d7e22204728c7474db3767a4735e0a121641a Mon Sep 17 00:00:00 2001 From: xuxy <1059738716@qq.com> Date: 星期六, 09 十一月 2024 21:49:21 +0800 Subject: [PATCH] update 计数精度问题 --- 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