소스 검색

删除日期

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');