(args, code)
| 7 | // js本地运行 |
| 8 | // args是storage的信息 |
| 9 | jsRun(args, code) { |
| 10 | const sandbox = { |
| 11 | wx, |
| 12 | args, |
| 13 | app: getApp() |
| 14 | }; |
| 15 | const runCode = runInContext(code, sandbox); |
| 16 | return runCode |
| 17 | }, |
| 18 | |
| 19 | onLaunch() { |
| 20 | // 展示本地存储能力 |
nothing calls this directly
no outgoing calls
no test coverage detected