摘要:
<div className="uploading-animation-tip-wrap"> <img src={require('~/shared/assets/image/slide-uploading-animation-file-300-300.gif')} alt="" className="uploading-tip-animation-file" /> <img src={requi 阅读全文
posted @ 2019-08-27 18:01
贝子涵夕
阅读(346)
评论(0)
推荐(0)
摘要:
import React, { useState, useRef, useEffect } from 'react' import PropTypes from 'prop-types' import _ from 'lodash' import uuidv1 from 'uuid/v1' import './index.less' let currentTipComponents = []... 阅读全文
posted @ 2019-08-27 17:02
贝子涵夕
阅读(728)
评论(0)
推荐(0)
摘要:
import StateMachine from 'javascript-state-machine' import EventEmitter from 'events' /** * 上传的文档的状态管理 */ const STATES = { NOT_UPLOAD: 'notUpload', FILE_TOO_LARGE: 'fileTooLarge', UPLOADING: 'uploadin 阅读全文
posted @ 2019-08-27 11:30
贝子涵夕
阅读(532)
评论(0)
推荐(0)