12345678910111213141516 |
- <script setup name="SubmitBtn">
- const props = defineProps({
- desc: {
- type: String,
- default: ''
- },
- type: {
- type: String,
- default: 'primary'
- }
- })
- </script>
- <template>
- {{props.desc}}
- <el-button :type="type">{{props.desc}}</el-button>
- </template>
|