CanadaMes-ui/src/views/Electrical/Action.vue
@@ -139,6 +139,7 @@ } let obj = JSON.parse(msg.data); if (obj.params ){ this.record.params[0] = obj.params[0]; for (let a = 0; a <= this.record.params[0].length - 1; a++) { @@ -148,7 +149,7 @@ this.record.xyData[a].value = this.record.params[0][a].toString(); } } } // console.log(this.record.xyData); this.$forceUpdate(); }; @@ -181,7 +182,7 @@ </script> <style> <style scoped> .kuai_div { /* width: 30%; */ margin-bottom: 30px;