From dc535d164a91b59cdb883d82cf90a1596049e3cd Mon Sep 17 00:00:00 2001 From: zhaohe Date: Fri, 23 Aug 2024 10:15:45 +0800 Subject: [PATCH] update --- html/debug/index.html | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/html/debug/index.html b/html/debug/index.html index 18ee507..374fb60 100644 --- a/html/debug/index.html +++ b/html/debug/index.html @@ -2,7 +2,7 @@ - TMP + 消毒API测试页面 @@ -17,6 +17,7 @@ +
@@ -24,8 +25,8 @@
- Connect - Disconnect + 连接 + 断开
@@ -38,7 +39,12 @@ {{item.fnName}}
- + + {{enumValue}} + +
执行 @@ -46,13 +52,13 @@
- Send + 发送
- Clear + 清空日志
@@ -140,6 +146,13 @@ } item = structuredClone(action); item.values = {}; + item.paramInfoMap = {}; + for (let i = 0; i < item.paramsTypeInfo.length; i++) { + let typeName = item.paramsTypeInfo[i]; + let info = data.typeInfoList.find(p => p.typeName === typeName); + let name = item.params[i]; + item.paramInfoMap[name] = info; + } group.items.push(item); } },