mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-14 04:43:14 +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 {
|
try {
|
||||||
return (${str}).apply(self, arguments);
|
return (${str}).apply(self, arguments);
|
||||||
} catch(e) {
|
} 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;
|
return e.message;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user