fix(core): 修复Blockly screenshot插件获取图片接口执行异常

This commit is contained in:
王立帮
2026-01-12 09:28:06 +08:00
parent 18ea44a38e
commit 5176c1e57b

View File

@@ -56,6 +56,7 @@ Blockly.Screenshot.getBase64Image_ = function(image) {
const href = image.getAttribute('xlink:href');
if (!href) {
resolve();
return;
}
img.src = href;
img.onload = function () {