From 34b3d8e1d401c98d547ffe5d46c6b8ebdfd23e3a Mon Sep 17 00:00:00 2001 From: xing Date: Sun, 28 Jun 2020 18:19:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/goods/params.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/goods/params.vue b/src/components/goods/params.vue index fe0702b..cc0d4a2 100644 --- a/src/components/goods/params.vue +++ b/src/components/goods/params.vue @@ -246,6 +246,12 @@ export default { this.params() }, handleChange () { + if (this.selectKey.length < 3) { + // this.data = [] + this.only = [] + this.many = [] + return + } this.params() }, async params () {