Files
catchAdmin/resources/admin/components/admin/buttons/add.vue
2023-02-20 14:41:26 +08:00

17 lines
299 B
Vue

<template>
<el-button type="primary" :size="size"><Icon name="plus" className="w-4 h-4 mr-1" /> {{ text }}</el-button>
</template>
<script lang="ts" setup>
defineProps({
size: {
type: String,
default: 'default',
},
text: {
type: String,
default: '新增',
},
})
</script>