import{U as r,e as t,_ as o,i as e}from"./index-d9fc8538.js";import i from"react";import"react-dom";import"stream";import"string_decoder";import"events";import"timers";import"util";import"url";import"http";import"https";import"buffer";import"path";import"querystring";import"assert";import"os";import"fs";import"child_process";import"antd";import"crypto";function m(m){var p=m.text,s=m.buttonProps,n=m.request,a=m.onSuccess,c=m.onError,u={request:n,onError:function(r){var t=r||"导入数据失败！";e.warn(t),c&&c(new Error(t))},onSuccess:function(){a&&a(null)}};return i.createElement(r,t({className:"upload-container"},u),i.createElement(o,t({},s),p))}export default m;
