重新创建 才会用最新的 dispatch

dev_unstable
hjm 6 years ago
parent 83829d91c5
commit 44eb63f026

@ -81,6 +81,7 @@ function VideoUploadList (props) {
getUploader(username,
// Object.assign(uploaderOptions,
{
// 重新创建 才会用最新的 dispatch
create: !uploader,
addFileSuccess: (uploadInfo) => {
const file = uploadInfo.file

Loading…
Cancel
Save