From 7692df60c0746b9e23a228eb719349c697cfcb06 Mon Sep 17 00:00:00 2001 From: queenwuli <942534046@qq.com> Date: Thu, 07 Jan 2021 11:26:06 +0800 Subject: [PATCH] gx --- hive-app/components/ld-select/ld-select.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/hive-app/components/ld-select/ld-select.vue b/hive-app/components/ld-select/ld-select.vue index a2a5218..4a97eae 100644 --- a/hive-app/components/ld-select/ld-select.vue +++ b/hive-app/components/ld-select/ld-select.vue @@ -111,7 +111,9 @@ let val_val = this.getValueKeyValue(temp) return item == val_val }) - chooseAttr.push(choose) + if(choose){ + chooseAttr.push(choose) + } }) let values = chooseAttr.map(temp => this.getListKeyValue(temp)).join(',') return values -- Gitblit v1.9.1