mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-15 02:40:46 +08:00
3ca4473aeb
* feat(components): [checkbox & radio] Use value instead of label * feat(components): update * feat(components): update * feat(components): update * feat(components): update * feat(components): update * feat(components): update test * feat(components): true-value false-value * feat(components): update
14 lines
297 B
Vue
14 lines
297 B
Vue
<template>
|
|
<el-radio-group v-model="radio">
|
|
<el-radio :value="3">Option A</el-radio>
|
|
<el-radio :value="6">Option B</el-radio>
|
|
<el-radio :value="9">Option C</el-radio>
|
|
</el-radio-group>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
|
|
const radio = ref(3)
|
|
</script>
|