mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 08:58:15 +00:00
fix: logger is not defined error in transformStringToFunction
This commit is contained in:
parent
afe61d986a
commit
8421f0c017
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user