摘要: import 'whatwg-fetch';export function fetchData(endpoint) { let myHeader = { headers: { "Authorisation": sessionStorage.getItem('openid'), "Accept" : 阅读全文
posted @ 2017-01-18 19:08 旧城旧城 阅读(275) 评论(0) 推荐(0) 编辑
摘要: class ImageUpload extends React.Component { constructor(props) { super(props); this.state = {file: '',imagePreviewUrl: ''}; } _handleSubmit(e) { e.pre 阅读全文
posted @ 2017-01-18 19:04 旧城旧城 阅读(975) 评论(1) 推荐(0) 编辑