From 98826e051486d61b8032c2da3a6d3ca733ef69a3 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期五, 21 五月 2021 17:14:16 +0800 Subject: [PATCH] 管线查询条件BUG、附属设施在线下面的bug --- src/components/BaseNav/pipeline/AffiliatedFacilities.vue | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/components/BaseNav/pipeline/AffiliatedFacilities.vue b/src/components/BaseNav/pipeline/AffiliatedFacilities.vue index a52abbb..87260dc 100644 --- a/src/components/BaseNav/pipeline/AffiliatedFacilities.vue +++ b/src/components/BaseNav/pipeline/AffiliatedFacilities.vue @@ -67,7 +67,6 @@ keyword: '' }, dataType: '', - classification: LayerFsss.layers, list: [], activeNum: -1 } @@ -82,11 +81,23 @@ deep: true } }, + computed: { + classification () { + const layers = LayerFsss.layers + console.log(layers) + const filtered = layers.filter(function (value, index, array) { + console.log(value) + return value.name !== '娴佸悜' + }) + return filtered + } + }, methods: { getImgSrc () { const icon = this.dataType.icon return icon ? 'assets/images/map/' + icon : '' }, + handleClose (done) { // this.$confirm('纭鍏抽棴锛�').then(_ => { done() }).catch(_ => {}) }, -- Gitblit v1.8.0