From 98a4f6ff3952a3d1d0e2e88b9fb649377ae6d498 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E6=99=A8=E5=B8=86?=
<12681695+wang-chenfan@user.noreply.gitee.com>
Date: Wed, 9 Aug 2023 09:04:56 +0000
Subject: [PATCH 1/4] =?UTF-8?q?[fix]=E8=87=AA=E5=B7=B1=E7=9A=84=E9=80=A0?=
=?UTF-8?q?=E5=87=BA=E6=9D=A5=E7=9A=84bug=E8=87=AA=E5=B7=B1=E6=94=B9?=
=?UTF-8?q?=EF=BC=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: 王晨帆 <12681695+wang-chenfan@user.noreply.gitee.com>
---
static/Waddle/generators/javascript/http.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/static/Waddle/generators/javascript/http.js b/static/Waddle/generators/javascript/http.js
index 32e4e67..e4d9fa6 100644
--- a/static/Waddle/generators/javascript/http.js
+++ b/static/Waddle/generators/javascript/http.js
@@ -23,16 +23,16 @@ Blockly.JavaScript["http_get"] = function (block) {
return code;
};
-Blockly.JavaScript['axios_response'] = function () {
+Blockly.JavaScript['http_response'] = function () {
return ['response', Blockly.JavaScript.ORDER_NONE];
};
-Blockly.JavaScript['axios_responsedropdown'] = function (block) {
+Blockly.JavaScript['http_responsedropdown'] = function (block) {
var dropdown_mode = block.getFieldValue('MODE');
var code = `response.${dropdown_mode}`;
return [code, Blockly.JavaScript.ORDER_NONE];
};
-Blockly.JavaScript['axios_error'] = function () {
+Blockly.JavaScript['http_error'] = function () {
return ['e', Blockly.JavaScript.ORDER_NONE];
};
\ No newline at end of file
--
Gitee
From 040d3f34af4a2f3eaba5b784dd79e4197c248742 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E6=99=A8=E5=B8=86?=
<12681695+wang-chenfan@user.noreply.gitee.com>
Date: Wed, 9 Aug 2023 09:10:49 +0000
Subject: [PATCH 2/4] =?UTF-8?q?[fix]=E8=BF=98=E6=98=AF=E8=87=AA=E5=B7=B1?=
=?UTF-8?q?=E9=80=A0=E7=9A=84bug=E8=87=AA=E5=B7=B1=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: 王晨帆 <12681695+wang-chenfan@user.noreply.gitee.com>
---
static/Waddle/toolBox.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/static/Waddle/toolBox.xml b/static/Waddle/toolBox.xml
index 89d43c0..6198531 100755
--- a/static/Waddle/toolBox.xml
+++ b/static/Waddle/toolBox.xml
@@ -442,7 +442,7 @@ TIP