feat : 新增需求征集删除功能和文件下载功能

This commit is contained in:
2024-05-17 20:53:49 +08:00
parent 573fff84e4
commit 9754b62038
4 changed files with 52 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
@cancel="handleCancel"
>
<template #reference>
<el-button :type="btnType" size="mini" :disabled="isDisabled" :icon="btnIcon" :plain="isPlain">
<el-button :type="btnType" size="mini" :disabled="isDisabled" :icon="btnIcon" :plain="isPlain" :link="link">
{{ btnText }}
</el-button>
</template>
@@ -30,6 +30,10 @@ const props = defineProps({
type: String,
default: ''
},
link: {
type: Boolean,
default: true
},
btnIcon: {
type: String,
default: ''
@@ -61,6 +65,7 @@ const handleCancel = () => {
visible.value = false
}
const handleDelete = () => {
console.log('确认')
emit("delete")
}
</script>