"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5829],{85751:function(h,s,_){_.r(s);var p=_(26068),l=_.n(p),M=_(15558),P=_.n(M),c=_(48305),i=_.n(c),j=_(94675),A=_(953),m=_(50159),u=_(50959),v=_(75201),b=_(59806),n=_(11527);s.default=function(o){var C=o.modalOpenState,U=o.onModalOpenState,B=o.onSubmit,x=(0,u.useState)([]),r=i()(x,2),e=r[0],E=r[1],f=(0,u.useState)(!1),D=i()(f,2),R=D[0],T=D[1],L={onRemove:function(t){var a=e.indexOf(t),d=e.slice();d.splice(a,1),E(d)},beforeUpload:function(t){return E([].concat(P()(e),[t])),!1},fileList:e};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(j.Z,{title:"\u5BFC\u5165\u63D0\u73B0\u7ED3\u679C",open:C,onOk:B,footer:function(t,a){var d=a.OkBtn,S=a.CancelBtn;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(d,{})})},children:(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)(A.Z,l()(l()({className:"mr-6"},L),{},{children:(0,n.jsx)(m.ZP,{icon:(0,n.jsx)(v.Z,{}),children:"\u9009\u62E9\u6587\u4EF6"})})),(0,n.jsx)(m.ZP,{icon:(0,n.jsx)(b.Z,{}),children:"\u4E0B\u8F7D\u6A21\u677F"})]})})})}}}]);
