| | |
| | | }); |
| | | |
| | | const props = defineProps({ |
| | | downloadTemplate: Function, |
| | | // downloadTemplate: Function, |
| | | showTips: Boolean, |
| | | accept: { |
| | | type: String, |
| | |
| | | default: 1, |
| | | }, |
| | | }); |
| | | const emits = defineEmits(["success", "remove"]); |
| | | const emits = defineEmits(["success", "remove", "downloadTemplate"]); |
| | | |
| | | const uploadRef = ref(); |
| | | const fileList = ref([]); |
| | |
| | | type="primary" |
| | | link |
| | | class="reset-margin" |
| | | @click="props.downloadTemplate()" |
| | | @click="emits('downloadTemplate')" |
| | | > |
| | | <span style="font-size: 12px; font-weight: normal">下载模板</span> |
| | | </el-button> |