From 3cc700308568e7e964f65ebe16cc93df18cb3345 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Wed, 4 Nov 2020 16:32:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BB=BC=E5=90=88=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E5=85=B3=E8=81=94=E5=85=B3=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/iscs/shape/text.js | 2 +- src/utils/baseUrl.js | 2 +- src/views/iscs/iscsDraw/icscComponents/text.vue | 6 +++--- .../iscsSystem/stationConfig/canvas/iscsCanvas.vue | 11 +++++++++++ .../iscsSystem/stationConfig/dialog/malfunction.vue | 13 ++++++++++++- .../iscs/iscsSystem/stationConfig/dialog/valve.vue | 13 ++++++++++++- 6 files changed, 40 insertions(+), 7 deletions(-) diff --git a/src/iscs/shape/text.js b/src/iscs/shape/text.js index 7a57815d8..95ea5d8ac 100644 --- a/src/iscs/shape/text.js +++ b/src/iscs/shape/text.js @@ -66,7 +66,7 @@ export default class text extends Group { this.model.point.y += dy; } setState(model) { - this.textName.setStyle('text', model.context); + model.context && this.textName.setStyle('text', model.context); model.gbColor && this.textName.setStyle('textBackgroundColor', model.gbColor); } setSize(width, height) { diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 89ce9ee58..4bb14fdb5 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -5,7 +5,7 @@ export function getBaseUrl() { BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://192.168.8.107:9000'; // 袁琪 // BASE_API = 'http://192.168.8.114:9000'; // 旭强 - // BASE_API = 'http://192.168.3.175:9000'; // 张赛 + // BASE_API = 'http://192.168.8.109:9000'; // 张赛 // BASE_API = 'http://192.168.8.110:9000'; // 杜康 // BASE_API = 'http://b29z135112.zicp.vip'; // BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康 diff --git a/src/views/iscs/iscsDraw/icscComponents/text.vue b/src/views/iscs/iscsDraw/icscComponents/text.vue index 195b3c1ea..d96a0bf8b 100644 --- a/src/views/iscs/iscsDraw/icscComponents/text.vue +++ b/src/views/iscs/iscsDraw/icscComponents/text.vue @@ -1,11 +1,11 @@