sandbox 加入 lodash

This commit is contained in:
fofolee 2022-04-21 10:56:39 +08:00
parent 1edd928927
commit d53c3580ce

View File

@ -475,12 +475,12 @@ let getSandboxFuns = () => {
axios: axios,
Audio: Audio,
fetch: fetch,
// 兼容老版本
_: _,
// 兼容老版本
fs: fs,
path: path,
os: os,
child_process: child_process,
util: util,
}
shortCodes.forEach(f => {
sandbox[f.name] = f