From bcd94b33072fdb026ec97a8ac1c90bd8ff114c25 Mon Sep 17 00:00:00 2001 From: zhangshun <453905631@qq.com> Date: Tue, 16 Jun 2026 09:39:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 1341 +++++++++++++++++++++------------------- public/smart_test.html | 14 +- 2 files changed, 709 insertions(+), 646 deletions(-) diff --git a/public/index.html b/public/index.html index f28a93e..2d1c157 100644 --- a/public/index.html +++ b/public/index.html @@ -1,697 +1,760 @@ - + - - - + + + smart_wasm Local Debug - - -
-
-

smart_wasm 本地调试页

-

这个页面直接加载 public/wasm/smart_math.js,可以在本地验证 WASM 初始化、命令调用和返回 JSON。

-
+ + +
+ +
-
-
-
-

请求

-
WASM 未初始化
-
-
- - +} -
- -
- -
-
- -
-
- -
- - - -
- -
-
1. 先点 初始化 WASM,会调用 _init_func()
-
2. 再点 发送请求,会调用 _func()
-
3. 默认地址使用 http://localhost:8080/
-
-
+
+ +
+ +
+
+ +
-
-
-

响应

-
等待操作
-
-
-
-
-
状态
-
未执行
-
-
-
代码
-
-
-
-
-
命令
-
-
-
-
-
请求号
-
-
-
-
-
No output yet.
-
+
+ + +
-
+ +
+
+ 1. 先点 初始化 WASM,会调用 + _init_func()。 +
+
+ 2. 再点 发送请求,会调用 _func()。 +
+
3. 默认地址使用 http://localhost:8080/
+
+
+ + +
+
+

响应

+
等待操作
+
+
+
+
+
状态
+
未执行
+
+
+
代码
+
-
+
+
+
命令
+
-
+
+
+
请求号
+
-
+
+
+
No output yet.
+
+
+ - + diff --git a/public/smart_test.html b/public/smart_test.html index 76e41b0..49aac0b 100644 --- a/public/smart_test.html +++ b/public/smart_test.html @@ -1,11 +1,11 @@ - + - - - + + + Redirecting - - + +

Redirecting to index.html ...

- +