定时任务 80%

This commit is contained in:
fofolee
2022-04-18 08:05:35 +08:00
parent 0547e65de1
commit 05999db5d2
10 changed files with 240 additions and 114 deletions

View File

@@ -498,6 +498,15 @@ let createNodeVM = (userVars) => {
return vm
}
window.showHelpPage = path => {
utools.ubrowser
.goto("https://www.yuque.com/fofolee-awga0/cpbg1m/bg31vl" + path)
.run({
width: 1380,
height: 750
});
}
window.VmEval = (cmd, sandbox = {}) => new VM({
sandbox: sandbox
}).run(cmd)