fix(uploader): change status is not valid (#7681)

This commit is contained in:
Che Guevara
2020-12-04 12:01:54 +08:00
committed by GitHub
parent 1304c6f36b
commit c75389d433

View File

@@ -1,4 +1,4 @@
import { ref } from 'vue';
import { ref, reactive } from 'vue';
// Utils
import { bem, createComponent } from './shared';
@@ -121,7 +121,7 @@ export default createComponent({
return;
}
}
items = reactive(items);
emit('update:modelValue', [...props.modelValue, ...toArray(items)]);
if (props.afterRead) {