Fix: 修复xpython下 json反序列化 无法和其他图形块连接
This commit is contained in:
@@ -727,7 +727,7 @@ export const dicts_to_json = {
|
|||||||
this.appendDummyInput("")
|
this.appendDummyInput("")
|
||||||
.appendField(Blockly.Msg.MIXLY_TO_JSON);
|
.appendField(Blockly.Msg.MIXLY_TO_JSON);
|
||||||
this.setTooltip(Blockly.Msg.MIXLY_TO_JSON_TOOLTIP);
|
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("")
|
this.appendDummyInput("")
|
||||||
.appendField(Blockly.Msg.MIXLY_CONVERT_TO_JSON);
|
.appendField(Blockly.Msg.MIXLY_CONVERT_TO_JSON);
|
||||||
this.setTooltip(Blockly.Msg.MIXLY_CONVERT_TO_JSON_TOOLTIP);
|
this.setTooltip(Blockly.Msg.MIXLY_CONVERT_TO_JSON_TOOLTIP);
|
||||||
this.setOutput(true, Number);
|
this.setOutput(true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user