mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-13 22:32:49 +00:00
优化
This commit is contained in:
parent
a0cfff8fdf
commit
7ce127a8b8
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user