From c56e506fd34c58209240e97fc29043639fae5d19 Mon Sep 17 00:00:00 2001 From: ChenZeping <chenzeping> Date: 星期四, 29 四月 2021 15:13:21 +0800 Subject: [PATCH] 统计表,指标,预报警表格弹框公共修改,管线分析功能 --- src/views/popup/Popup.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/popup/Popup.vue b/src/views/popup/Popup.vue index eece635..02703b5 100644 --- a/src/views/popup/Popup.vue +++ b/src/views/popup/Popup.vue @@ -73,8 +73,9 @@ } }, setDatas (layer) { + console.log(layer) this.tabs = [{ - title: layer.feature.id, + title: layer.feature.properties.name || layer.feature.id, name: '1' }] this.properties = layer.feature.properties @@ -95,9 +96,9 @@ <style lang="less" > @import '../../assets/css/map/map-popup.less'; #popup{ - .el-tabs__content{ - max-height: 300px; - overflow: auto; + .el-tabs__content{ + max-height: 240px; + overflow-y: scroll; } } </style> -- Gitblit v1.8.0