From c75389d433c13749c7bcd64f83cf3311b0bd267a Mon Sep 17 00:00:00 2001 From: Che Guevara <836934184@qq.com> Date: Fri, 4 Dec 2020 12:01:54 +0800 Subject: [PATCH] fix(uploader): change status is not valid (#7681) --- src/uploader/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {