1 line
606 B
JavaScript
1 line
606 B
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-43f8ff7c"],{4:function(n,t){},5:function(n,t){},cddd:function(n,t,c){"use strict";c.r(t),c.d(t,"export_txt_to_zip",(function(){return f}));c("4160"),c("d3b7"),c("25f0"),c("159b");var o=c("21a6"),e=c("7c39"),i=c.n(e);function f(n,t,c,e){var f=new i.a,a=c||"file",r=e||"file",u=t,p="".concat(n,"\r\n");u.forEach((function(n){var t="";t=n.toString(),p+="".concat(t,"\r\n")})),f.file("".concat(a,".txt"),p),f.generateAsync({type:"blob"}).then((function(n){Object(o["saveAs"])(n,"".concat(r,".zip"))}),(function(n){alert("导出失败")}))}}}]);
|