From 52afe2d58776967da3a03b00d7f635fc6fd7d1a8 Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期一, 26 四月 2021 15:42: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