From 65b2cc36b574f4e752c72f7a8cba5dfded26e88d Mon Sep 17 00:00:00 2001 From: qiang Date: Wed, 3 Jun 2020 18:49:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20H5=20=E7=AB=AF=20pi?= =?UTF-8?q?cker-view=20=E7=BB=84=E4=BB=B6=E6=9F=90=E4=BA=9B=E6=83=85?= =?UTF-8?q?=E5=86=B5=E8=AE=BE=E7=BD=AE=20value=20=E4=B8=8D=E7=94=9F?= =?UTF-8?q?=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/view/components/picker-view/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/view/components/picker-view/index.vue b/src/core/view/components/picker-view/index.vue index 538aeefc3..a1c9ec758 100644 --- a/src/core/view/components/picker-view/index.vue +++ b/src/core/view/components/picker-view/index.vue @@ -40,7 +40,7 @@ export default { }, watch: { value (val, oldVal) { - if (val === oldVal || val.length !== oldVal.length || val.findIndex((item, index) => item !== oldVal[index]) >= 0) { + if (__PLATFORM__ !== 'app-plus' || val === oldVal || val.length !== oldVal.length || val.findIndex((item, index) => item !== oldVal[index]) >= 0) { this.valueSync.length = val.length val.forEach((val, index) => { if (val !== this.valueSync[index]) { -- GitLab