This commit is contained in:
神仙都没用 2023-11-04 14:46:35 +08:00
parent a0cfff8fdf
commit 7ce127a8b8

View File

@ -528,7 +528,8 @@ function check() {
//
function update() {
if (!check()) {
emit("update:modelValue", getUrls(list.value));
const urls = getUrls(list.value);
emit("update:modelValue", props.multiple ? getUrls(list.value) : urls[0]);
nextTick(() => {
if (props.prop) {