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 @@