From f548a7495ac393aedf83d3952546cfbf737ee4cd Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Tue, 8 Sep 2020 14:26:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=BD=A6=E7=AB=99=E7=82=B9?= =?UTF-8?q?=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/shape/Station/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jmapNew/shape/Station/index.js b/src/jmapNew/shape/Station/index.js index 450a8f1bb..ab5a48392 100644 --- a/src/jmapNew/shape/Station/index.js +++ b/src/jmapNew/shape/Station/index.js @@ -43,6 +43,7 @@ export default class Station extends Group { fontWeight: style.Station.text.fontWeight, fontSize: isNaN(Number(model.nameFont)) ? 20 : Number(model.nameFont), fontFamily: style.fontFamily, + silent: !model.visible, text: model.number ? model.number + model.name : model.name, textAlign: 'middle', textVerticalAlign: 'top', @@ -96,6 +97,7 @@ export default class Station extends Group { fontSize: model.subheadFont || 18, fontFamily: style.fontFamily, text: model.subhead, + silent: !model.visible, textAlign: 'middle', textVerticalAlign: 'top', textFill: model.subheadFontColor