fix: logger is not defined error in transformStringToFunction

This commit is contained in:
liujuping 2023-08-21 15:00:57 +08:00 committed by JackLian
parent afe61d986a
commit 8421f0c017

View File

@ -26,7 +26,7 @@ function transformStringToFunction(str: string) {
try {
return (${str}).apply(self, arguments);
} catch(e) {
logger.warn('call function which parsed by lowcode failed: ', e);
console.warn('call function which parsed by lowcode failed: ', e);
return e.message;
}
};