新增 showDevTools

This commit is contained in:
fofolee
2022-04-25 11:22:27 +08:00
parent 219d0146e0
commit 8f2d332cda
4 changed files with 45 additions and 22 deletions

7
plugin/lib/sandbox.js Normal file
View File

@@ -0,0 +1,7 @@
const nodeFns = require("./nodeFns")
window._ = require("lodash")
window.utools = require("./utoolsLite")()
Object.keys(nodeFns).forEach(key => {
window[key] = nodeFns[key]
})