text: (self.webpackChunkwar3tool=self.webpackChunkwar3tool||[]).push([[925],{7925:(e,n,t)=>{"use strict";t.r(n),t.d(n,{ToBlp:()=>c,default:()=>s}),t(1131);var r=t(8465),o=t(7294),a=t(3690);function l(){return(l=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function u(e,n,t,r,o,a,l){try{var u=e[a](l),i=u.value}catch(e){return void t(e)}u.done?n(i):Promise.resolve(i).then(r,o)}var i=r.Z.Dragger,c=function(e){!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e);var n,t,r={name:"file",multiple:!1,showUploadList:!1,onChange:(n=regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.info(n.file);case 1:case"end":return e.stop()}}),e)})),t=function(){var e=this,t=arguments;return new Promise((function(r,o){var a=n.apply(e,t);function l(e){u(a,r,o,l,i,"next",e)}function i(e){u(a,r,o,l,i,"throw",e)}l(void 0)}))},function(e){return t.apply(this,arguments)}),beforeUpload:function(){return!1},onDrop:function(e){console.log("Dropped files",e.dataTransfer.files)}};return o.createElement(i,l({fileList:[]},r),o.createElement(o.Fragment,null,o.createElement("p",{className:"ant-upload-drag-icon"},o.createElement(a.Z,null)),o.createElement("p",{className:"ant-upload-text"},"点击或者拖拽图片文件进来")))};const s=c}}]);