mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-10 18:03:01 +00:00
fix: logger is not defined error in transformStringToFunction
This commit is contained in:
parent
5a4e43a7d7
commit
b4c20b181f
@ -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