<template>
<div>
<el-radio
v-model="trnType"
label="住培"
@change="onTypeChange"
>
住培
</el-radio>
<el-radio
v-model="trnType"
label="专陪"
@change="onTypeChange"
>
专陪
</el-radio>
</div>
</template>
<script lang="ts">
import { Component, Vue, Emit, Model } from 'vue-property-decorator'
@Component
export default class TypeRadios extends Vue {
@Model('typeChange')
trnType!: string
@Emit('typeChange')
onTypeChange(val: string) {
return val
}
}
</script>