code: function runCode(code, context) {
      let model = {},
          sandbox = { __dirname: path.cwd(), ...context };
  
      // 配置沙盒
      sandbox.module = { exports: model };
      sandbox.exports = model;
      sandbox.require = name => require(
          name.match(/^\.{0,2}\//) ? path.resolve(sandbox.__dirname, name) : name
      );
  
      // 配置文件名
      if (!sandbox.__filename) {
          sandbox.__filename = path.resolve(sandbox.__dirname, 'vm.js');
      }
  
      // 沙盒运行
      vm.createContext(sandbox);
      vm.runInContext(code, sandbox);
  
      // 返回结果
      return sandbox.module.exports;
  }
docs: ****************************************
  运行代码
  ****************************************