2019-01-12 03:33:27 +00:00
|
|
|
import Upload from './Upload';
|
|
|
|
import Dragger from './Dragger';
|
2019-08-28 02:50:19 +00:00
|
|
|
import Base from '../base';
|
2018-04-13 08:19:50 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
export { UploadProps, UploadListProps, UploadChangeParam } from './interface';
|
2018-04-13 08:19:50 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
Upload.Dragger = Dragger;
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2019-01-12 03:33:27 +00:00
|
|
|
Upload.install = function(Vue) {
|
2019-08-28 02:50:19 +00:00
|
|
|
Vue.use(Base);
|
2019-01-12 03:33:27 +00:00
|
|
|
Vue.component(Upload.name, Upload);
|
|
|
|
Vue.component(Dragger.name, Dragger);
|
|
|
|
};
|
2018-09-19 05:21:57 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
export default Upload;
|