mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
fix(uploader): change status is not valid (#7681)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { ref } from 'vue';
|
import { ref, reactive } from 'vue';
|
||||||
|
|
||||||
// Utils
|
// Utils
|
||||||
import { bem, createComponent } from './shared';
|
import { bem, createComponent } from './shared';
|
||||||
@@ -121,7 +121,7 @@ export default createComponent({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
items = reactive(items);
|
||||||
emit('update:modelValue', [...props.modelValue, ...toArray(items)]);
|
emit('update:modelValue', [...props.modelValue, ...toArray(items)]);
|
||||||
|
|
||||||
if (props.afterRead) {
|
if (props.afterRead) {
|
||||||
|
Reference in New Issue
Block a user