fix: 工作流编辑器支持dayjs (#1407)
Reviewed-on: daoyoucloud/tachybase#1407 Reviewed-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: wjh <wwwjh0710@163.com> Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
parent
f847c9b2d3
commit
aa49bd3133
@ -1,4 +1,5 @@
|
||||
import crypto from 'crypto';
|
||||
import { dayjs } from '@tachybase/utils';
|
||||
|
||||
import jsonata from 'jsonata';
|
||||
import _ from 'lodash';
|
||||
@ -101,6 +102,7 @@ async function convertByJsCode(code, data) {
|
||||
qrcode,
|
||||
crypto,
|
||||
jsonata,
|
||||
dayjs,
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user