element-plus/ssr-testing/cases/radio.vue
JeremyWuuuuu c2ecb3a773 test(ssr): add ssr testing cases
- Add more cases for running ssr tests
2022-03-18 16:53:37 +08:00

31 lines
834 B
Vue

<template>
<div>
<el-radio v-model="radio1" label="1" size="large">Option 1</el-radio>
<el-radio v-model="radio1" label="2" size="large">Option 2</el-radio>
</div>
<div>
<el-radio v-model="radio2" label="1">Option 1</el-radio>
<el-radio v-model="radio2" label="2">Option 2</el-radio>
</div>
<div>
<el-radio v-model="radio3" label="1" size="small">Option 1</el-radio>
<el-radio v-model="radio3" label="2" size="small">Option 2</el-radio>
</div>
<div>
<el-radio v-model="radio3" label="1" size="small" disabled
>Option 1</el-radio
>
<el-radio v-model="radio3" label="2" size="small" disabled
>Option 2</el-radio
>
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
const radio1 = ref('1')
const radio2 = ref('1')
const radio3 = ref('1')
</script>