Fix: 修复xpython下 json反序列化 无法和其他图形块连接

This commit is contained in:
王立帮
2024-10-06 19:03:17 +08:00
parent 99f854a4ce
commit c8436002f3

View File

@@ -727,7 +727,7 @@ export const dicts_to_json = {
this.appendDummyInput("")
.appendField(Blockly.Msg.MIXLY_TO_JSON);
this.setTooltip(Blockly.Msg.MIXLY_TO_JSON_TOOLTIP);
this.setOutput(true, Number);
this.setOutput(true);
}
};
@@ -738,6 +738,6 @@ export const json_to_dicts = {
this.appendDummyInput("")
.appendField(Blockly.Msg.MIXLY_CONVERT_TO_JSON);
this.setTooltip(Blockly.Msg.MIXLY_CONVERT_TO_JSON_TOOLTIP);
this.setOutput(true, Number);
this.setOutput(true);
}
};