From c8938a0ac2a66ae677596ba1e363bd5429710c7d Mon Sep 17 00:00:00 2001 From: danshihao Date: Mon, 12 Aug 2024 18:17:35 +0800 Subject: [PATCH] =?UTF-8?q?[update=2088415]=20=E6=8B=86=E5=88=86-=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E6=8B=86=E5=88=86=E7=BB=93=E6=9E=9C-=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=A0=87=E5=87=86=E5=8E=BB=E6=8E=89=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/selection/StandardSelectionModal.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/selection/StandardSelectionModal.vue b/src/components/selection/StandardSelectionModal.vue index 0b5dce8..b5c9d53 100644 --- a/src/components/selection/StandardSelectionModal.vue +++ b/src/components/selection/StandardSelectionModal.vue @@ -264,7 +264,7 @@ export default { // 加载标准结构树 loadStandardStructureTree () { // option 不传显示我的收藏,1不显示我的收藏, 2只能选二级中国及中国下三级,和欧盟EU - getForeignStandardTree({ option: 2 }).then(res => { + getForeignStandardTree({ option: 1 }).then(res => { if (res.success) { this.standardStructureTree = res.result || [] } @@ -302,10 +302,8 @@ export default { excludeStandardNumbers: this.excludeStandardNumbers } // 标准结构树 - if (Array.isArray(query.standardSystem) && query.standardSystem.length) { + if (Array.isArray(query.standardSystem)) { query.standardSystem = query.standardSystem.map(item => item.value).join(',') - } else { - query.standardSystem = this.getValuesWhereNotDisabled(this.standardStructureTree).join(',') } // 清空在可选范围内进行查询 if (!query.source && this.canSelectedSource.length < 3) {