diff --git a/src/uploader/index.js b/src/uploader/index.js index 6292a9c4f..971d21b11 100644 --- a/src/uploader/index.js +++ b/src/uploader/index.js @@ -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) {