mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-14 06:42:51 +00:00
优化
This commit is contained in:
parent
a0cfff8fdf
commit
7ce127a8b8
@ -528,7 +528,8 @@ function check() {
|
|||||||
// 更新
|
// 更新
|
||||||
function update() {
|
function update() {
|
||||||
if (!check()) {
|
if (!check()) {
|
||||||
emit("update:modelValue", getUrls(list.value));
|
const urls = getUrls(list.value);
|
||||||
|
emit("update:modelValue", props.multiple ? getUrls(list.value) : urls[0]);
|
||||||
|
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
if (props.prop) {
|
if (props.prop) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user