From 43428029deaf70f3cc1621c1ac0bda0369b3c119 Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 31 May 2022 15:49:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E7=A9=BA=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/pages/multiplyArea.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/multiplyArea.vue b/src/components/pages/multiplyArea.vue index cdb071d1..a5ab24db 100644 --- a/src/components/pages/multiplyArea.vue +++ b/src/components/pages/multiplyArea.vue @@ -116,7 +116,7 @@ export default { } }, created() { - [this.$route.query.value].flat().map(id => this.$set(this.selected, id, {id})) + [this.$route.query.value].filter(e=>!!e).flat().map(id => this.$set(this.selected, id, {id})) this.getOptionsByRoot() } }