mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
style: update style
This commit is contained in:
parent
3af077453f
commit
51221005e2
@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<!-- <div>
|
||||
<div>
|
||||
<el-radio v-model="radio" label="1">1</el-radio>
|
||||
<el-radio v-model="radio" label="2">2</el-radio>
|
||||
</div> -->
|
||||
</div>
|
||||
<div>
|
||||
<el-radio-group v-model="radio0">
|
||||
<el-radio label="3">3</el-radio>
|
||||
@ -10,14 +10,14 @@
|
||||
<el-radio label="9">9</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
<!-- <div>
|
||||
<div>
|
||||
<el-radio-group v-model="radio1">
|
||||
<el-radio-button label="A" />
|
||||
<el-radio-button label="B" />
|
||||
<el-radio-button label="C" />
|
||||
<el-radio-button label="D" />
|
||||
</el-radio-group>
|
||||
</div> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
@ -26,7 +26,7 @@ import { defineComponent } from 'vue'
|
||||
const basic = defineComponent({
|
||||
data() {
|
||||
return {
|
||||
radio: '2',
|
||||
radio: '1',
|
||||
radio0: '3',
|
||||
radio1: 'A',
|
||||
}
|
||||
|
@ -36,8 +36,7 @@
|
||||
</label>
|
||||
</template>
|
||||
<script>
|
||||
import { useELEMENT } from 'src'
|
||||
import { computed, nextTick, ref } from 'vue'
|
||||
import { computed, nextTick, inject, ref } from 'vue'
|
||||
|
||||
export default {
|
||||
name: 'ElRadioButton',
|
||||
@ -72,7 +71,7 @@ export default {
|
||||
return _radioGroup.modelValue.value
|
||||
},
|
||||
set(value) {
|
||||
_radioGroup.emit(value)
|
||||
_radioGroup.changeEvent(value)
|
||||
},
|
||||
})
|
||||
const activeStyle = computed(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user