You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
555 B

<template>
<el-radio
:label="label"
:disabled="disabled"
:v-model="defaultValue"
>
<template #label>
<span><img src="../assets/radio_checked.svg" alt="custom icon" style="width: 16px; height: 16px;"> {{ text }}</span>
</template>
</el-radio>
</template>
<script>
export default {
name: 'GuipRadio',
props:['radio','label','defaultValue','disabled','text'],
data() {
return {
// radio: '1'
}
},
mounted(){
}
}
</script>