From ceb6663bf2a93cd598403155f9839e8b3d378752 Mon Sep 17 00:00:00 2001 From: zhaoqiang <2117596534@qq.com> Date: Wed, 17 Jul 2024 22:31:18 +0800 Subject: [PATCH] update --- src/views/pages/OpticalStoragePage/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/pages/OpticalStoragePage/index.vue b/src/views/pages/OpticalStoragePage/index.vue index 93a8f76..5ff2115 100644 --- a/src/views/pages/OpticalStoragePage/index.vue +++ b/src/views/pages/OpticalStoragePage/index.vue @@ -1106,7 +1106,7 @@ let handleEnter = (typeValue: string) => { }) // 文本 text = draw - .text(`P: ${parseFloat(data['Pi']).toFixed(4)} kW \nQ: ${parseFloat(data['Qi']).toFixed(4)} kVar \nV: ${parseFloat(data['V_b']).toFixed(4)} kV \nI: ${parseFloat(data['I'])} A`) + .text(`P: ${parseFloat(data['Pi']).toFixed(4)} kW \nQ: ${parseFloat(data['Qi']).toFixed(4)} kVar \nU: ${parseFloat(data['V_b']).toFixed(4)} kV \nI: ${parseFloat(data['I'])} A`) .attr({ x: endTextX, y: endTextY, @@ -1647,7 +1647,7 @@ let handleCustomLine = (svgHtml, result) => { }) // 文本 text = draw - .text(`P: ${(parseFloat(data['Pi']) * 100).toFixed(4)} kW \nQ: ${(parseFloat(data['Qi']) * 10).toFixed(4)} kVar \nV: ${parseFloat(data['V_b']).toFixed(4)} kV \nI: ${((parseFloat(data['Pi']) * 100) / (parseFloat(data['V_b']) * 1.732)).toFixed(4)} A`) + .text(`P: ${(parseFloat(data['Pi']) * 100).toFixed(4)} kW \nQ: ${(parseFloat(data['Qi']) * 10).toFixed(4)} kVar \nU: ${parseFloat(data['V_b']).toFixed(4)} kV \nI: ${((parseFloat(data['Pi']) * 100) / (parseFloat(data['V_b']) * 1.732)).toFixed(4)} A`) .attr({ x: endTextX, y: endTextY, @@ -2002,7 +2002,7 @@ let handleAnimate = async (result: any) => { text = draw .text( `P: ${(parseFloat(data['Pi']) * 100).toFixed(4)} kW - Q: ${(parseFloat(data['Qi']) * 10).toFixed(4)} kVar \nV: ${parseFloat(data['V_b']).toFixed(4)} kV \nI: ${((parseFloat(data['Pi']) * 100) / (parseFloat(data['V_b']) * 1.732)).toFixed(4)} A` + Q: ${(parseFloat(data['Qi']) * 10).toFixed(4)} kVar \nU: ${parseFloat(data['V_b']).toFixed(4)} kV \nI: ${((parseFloat(data['Pi']) * 100) / (parseFloat(data['V_b']) * 1.732)).toFixed(4)} A` ) .attr({ x: x - 10,