chore(boards): 调整mp下python_generator

This commit is contained in:
王立帮
2025-05-27 20:07:18 +08:00
parent 8aad301597
commit 50a3a6839b

View File

@@ -205,11 +205,11 @@ Python.finish = function (code) {
text = imports.join('\n') + definitions_var.join('\n') + definitions_fun.join('\n')
+ functions.join('\n') + setups.join('') + code + codeEnd.join('\n');
}
try {
text = optimizeShowCalls(text);
} catch (error) {
console.log(error);
}
// try {
// text = optimizeShowCalls(text);
// } catch (error) {
// console.log(error);
// }
return text;
}