摘要: 在nodejs中,一般一个js文件作为一个模块,最后以 module.exports = xxx; 结尾;就可以在其他文件引用了,我这里有自定义模块代码如下 const puppeteer = require('puppeteer'); class Craw { constructor() { } 阅读全文
posted @ 2020-08-05 22:21 飞天艾特小猪 阅读(1411) 评论(0) 推荐(0) 编辑