From c754e1304799c932b1aabe7a85960d29274791b7 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 18 十二月 2024 09:50:28 +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