修复申请分享商图片无法删除问题

pull/8/head
kele 2023-09-04 18:57:00 +08:00
parent 2a91f5bb46
commit fd7ccde73a
2 changed files with 5 additions and 2 deletions

View File

@ -47,7 +47,6 @@
/>
<s-uploader
v-if="item.type === 'image'"
v-model="item.aaa"
v-model:url="item.value"
fileMediatype="image"
limit="1"

View File

@ -74,7 +74,11 @@
computed: {
list() {
if (typeof this.filesList === 'string') {
return [this.filesList];
if (this.filesList) {
return [this.filesList];
} else {
return [];
}
}
return this.filesList;
},