08 2019 档案
摘要:import React, { useState, useEffect } from 'react' import PropTypes from 'prop-types' import _ from 'lodash' import classnames from 'classnames' import './index.less' function CheckBox(props) { const
阅读全文
摘要:import React, { Component } from 'react' import PropTypes from 'prop-types' import _ from 'lodash' import assign from 'object-assign' import './index.less' import NormalButton from '../NormalButton' i
阅读全文
摘要:<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
阅读全文
摘要: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 = []...
阅读全文
摘要:import StateMachine from 'javascript-state-machine' import EventEmitter from 'events' /** * 上传的文档的状态管理 */ const STATES = { NOT_UPLOAD: 'notUpload', FILE_TOO_LARGE: 'fileTooLarge', UPLOADING: 'uploadin
阅读全文