瀏覽代碼

删除日期

jinxia.mo 2 年之前
父節點
當前提交
ccf302c865
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      public/collectImgNew/index.js

+ 2 - 1
public/collectImgNew/index.js

@@ -6,7 +6,8 @@ const args = require('minimist')(process.argv.slice(2));
 const headless = args.headless || 'true';
 const url = args.url || 'true';
 const token = args.token || '';
-const filePath = getDate()+(args.path || 'index.pdf');
+// const filePath = getDate()+(args.path || 'index.pdf');
+const filePath = (args.path || 'index.pdf');
 
 const puppeteer = require('puppeteer');