update readme
This commit is contained in:
parent
3e3ac4f5ec
commit
d270488b82
2 changed files with 18 additions and 8 deletions
|
@ -1,16 +1,24 @@
|
|||
<template>
|
||||
<div>
|
||||
<Radio-group v-model="sex">
|
||||
<Radio :label="0">男</Radio>
|
||||
<Radio :label="1">女</Radio>
|
||||
<Radio-group v-model="date.sex">
|
||||
<Radio label="male form"></Radio>
|
||||
<Radio label="female"></Radio>
|
||||
</Radio-group>
|
||||
<Button @click="handleChange">change</Button>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
sex: 0
|
||||
date: {
|
||||
sex: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleChange () {
|
||||
this.date.sex = 'male form';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue