mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-10 23:54:57 +08:00
sandbox 加入 lodash
This commit is contained in:
parent
1edd928927
commit
d53c3580ce
@ -475,12 +475,12 @@ let getSandboxFuns = () => {
|
|||||||
axios: axios,
|
axios: axios,
|
||||||
Audio: Audio,
|
Audio: Audio,
|
||||||
fetch: fetch,
|
fetch: fetch,
|
||||||
|
_: _,
|
||||||
// 兼容老版本
|
// 兼容老版本
|
||||||
fs: fs,
|
fs: fs,
|
||||||
path: path,
|
path: path,
|
||||||
os: os,
|
os: os,
|
||||||
child_process: child_process,
|
child_process: child_process,
|
||||||
util: util,
|
|
||||||
}
|
}
|
||||||
shortCodes.forEach(f => {
|
shortCodes.forEach(f => {
|
||||||
sandbox[f.name] = f
|
sandbox[f.name] = f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user