chore(boards): 调整mp下python_generator
This commit is contained in:
@@ -205,11 +205,11 @@ Python.finish = function (code) {
|
|||||||
text = imports.join('\n') + definitions_var.join('\n') + definitions_fun.join('\n')
|
text = imports.join('\n') + definitions_var.join('\n') + definitions_fun.join('\n')
|
||||||
+ functions.join('\n') + setups.join('') + code + codeEnd.join('\n');
|
+ functions.join('\n') + setups.join('') + code + codeEnd.join('\n');
|
||||||
}
|
}
|
||||||
try {
|
// try {
|
||||||
text = optimizeShowCalls(text);
|
// text = optimizeShowCalls(text);
|
||||||
} catch (error) {
|
// } catch (error) {
|
||||||
console.log(error);
|
// console.log(error);
|
||||||
}
|
// }
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user