|
@@ -30,7 +30,7 @@ const { modelValue, headers, action, uploadAttrs, beforeUpload, handleRemove } =
|
|
|
v-bind="{ ...uploadAttrs, ...$attrs }"
|
|
v-bind="{ ...uploadAttrs, ...$attrs }"
|
|
|
>
|
|
>
|
|
|
<template #[slot.name]="slotProps" v-for="slot in item?.slots" :key="slot.alias">
|
|
<template #[slot.name]="slotProps" v-for="slot in item?.slots" :key="slot.alias">
|
|
|
- <slot :name="slot.alias" v-bind="slotProps">
|
|
|
|
|
|
|
+ <slot :name="slot.name" v-bind="slotProps">
|
|
|
<el-button type="primary">上传</el-button>
|
|
<el-button type="primary">上传</el-button>
|
|
|
</slot>
|
|
</slot>
|
|
|
</template>
|
|
</template>
|