Explorar el Código

加入错误文件

chenken hace 7 años
padre
commit
ed46373552
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/views/index.vue

+ 1 - 0
src/views/index.vue

@@ -269,6 +269,7 @@
 			        		var readStream = fs.createReadStream(file.path);
 							var writeStream = fs.createWriteStream(errorfilePath+"\\"+file.name);
 							readStream.pipe(writeStream);
+							fs.appendFile(errorfilePath+'\\errorPhotos.txt',fileName+":"+msg+'\n',function (){});
 		        		}
 	        		}
 	        	}