From e228ebacd86058dafd5c63d9809f761c83ee7dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Tue, 5 Sep 2023 15:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- haiwei-admin/src/main/resources/static/board/board.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haiwei-admin/src/main/resources/static/board/board.js b/haiwei-admin/src/main/resources/static/board/board.js index fa2d1ce..2f9a102 100644 --- a/haiwei-admin/src/main/resources/static/board/board.js +++ b/haiwei-admin/src/main/resources/static/board/board.js @@ -31,8 +31,8 @@ $(() => {
${val.name}
-
转速: ${e.data.find(res => res.name === val.name && res.pointname === val.data1)?.data || 0}n/s
-
电流: ${e.data.find(res => res.name === val.name && res.pointname === val.data2)?.data || 0}A
+
${val.data1}: ${e.data.find(res => res.name === val.name && res.pointname === val.data1)?.data || 0}n/s
+
${val.data2}: ${e.data.find(res => res.name === val.name && res.pointname === val.data2)?.data || 0}A