mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-12 12:25:22 +08:00
f3a8856c63
* improvement(theme-chalk): visual enhancement - Add visual enhancement for keyboard nagivation on form items. * Fix linter issue * Fix switch active text issue * Fix bordered radio demo issue
36 lines
1.0 KiB
Vue
36 lines
1.0 KiB
Vue
<template>
|
|
<div>
|
|
<el-radio-group v-model="radio1">
|
|
<el-radio label="1" size="large" border>Option A</el-radio>
|
|
<el-radio label="2" size="large" border>Option B</el-radio>
|
|
</el-radio-group>
|
|
</div>
|
|
<div style="margin-top: 20px">
|
|
<el-radio-group v-model="radio2">
|
|
<el-radio label="1" border>Option A</el-radio>
|
|
<el-radio label="2" border>Option B</el-radio>
|
|
</el-radio-group>
|
|
</div>
|
|
<div style="margin-top: 20px">
|
|
<el-radio-group v-model="radio3" size="small">
|
|
<el-radio label="1" border>Option A</el-radio>
|
|
<el-radio label="2" border disabled>Option B</el-radio>
|
|
</el-radio-group>
|
|
</div>
|
|
<div style="margin-top: 20px">
|
|
<el-radio-group v-model="radio4" size="small" disabled>
|
|
<el-radio label="1" border>Option A</el-radio>
|
|
<el-radio label="2" border>Option B</el-radio>
|
|
</el-radio-group>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
|
|
const radio1 = ref('1')
|
|
const radio2 = ref('1')
|
|
const radio3 = ref('1')
|
|
const radio4 = ref('1')
|
|
</script>
|