mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
图片上传绑定值异常
This commit is contained in:
parent
f6741e3de6
commit
d79a771fd2
@ -383,7 +383,7 @@ function fileType(path: string) {
|
|||||||
|
|
||||||
// 更新
|
// 更新
|
||||||
function update() {
|
function update() {
|
||||||
const check = list.value.find((e) => e.url);
|
const check = list.value.find((e) => !e.url);
|
||||||
|
|
||||||
if (!check) {
|
if (!check) {
|
||||||
emit("update:modelValue", list.value.map((e: Item) => e.url).join(","));
|
emit("update:modelValue", list.value.map((e: Item) => e.url).join(","));
|
||||||
@ -451,11 +451,7 @@ defineExpose({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.is-drag {
|
.is-drag {
|
||||||
margin: 5px;
|
margin: 0 0 5px 5px;
|
||||||
}
|
|
||||||
|
|
||||||
.un-drag {
|
|
||||||
margin: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&--file {
|
&--file {
|
||||||
|
Loading…
Reference in New Issue
Block a user