|
@@ -255,6 +255,10 @@ defineExpose({
|
|
|
const existingUrls = modelValue[prop]?.split(',') ?? [];
|
|
|
modelValue[prop] = [...existingUrls, ...newUrls].join(',');
|
|
|
}"
|
|
|
+ :before-remove="({file,fileList,resolve}) =>{
|
|
|
+ resolve(true)
|
|
|
+ modelValue[prop] = fileList.map(({ url }) => url).join(',');
|
|
|
+ }"
|
|
|
></wd-upload>
|
|
|
<wd-button
|
|
|
v-if="type === 'Submit'"
|