摘要: 多个箭头函数,例如: const navigateOnce = (getStateForAction) => (action, state) => { const {type, routeName, params} = action; return ( state && (type Navigati 阅读全文
posted @ 2020-03-31 23:12 南歌子 阅读(3021) 评论(0) 推荐(3) 编辑
摘要: 选择的文件类型 e.target.files[0].type 值 /** * e.target.files[0].type的结果 * .PSD 文件 "" * .psd 文件 "" * .pdf 文件 "application/pdf" * .PNG 文件 "image/png" * .png 文件 阅读全文
posted @ 2020-03-31 23:05 南歌子 阅读(11469) 评论(0) 推荐(0) 编辑