update readme
This commit is contained in:
parent
3e3ac4f5ec
commit
d270488b82
2 changed files with 18 additions and 8 deletions
10
README.md
10
README.md
|
@ -6,7 +6,7 @@
|
|||
|
||||
# iView [](https://travis-ci.org/iview/iview) [](https://www.npmjs.org/package/iview) [](https://npmjs.org/package/iview) [](https://gitter.im/iview/iview?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
### A high quality UI Toolkit with both Vue.js 2.0 and 1.0
|
||||
### A high quality UI Toolkit built on Vue.js.
|
||||
|
||||
> This branch is for Vue.js 2.x
|
||||
>
|
||||
|
@ -14,8 +14,9 @@
|
|||
|
||||
## Docs
|
||||
|
||||
### [中文文档(1.0版)](https://www.iviewui.com)
|
||||
### English (Coming soon)
|
||||
### [中文文档 (2.0)](https://www.iviewui.com)
|
||||
### [中文文档 (1.0)](http://v1.iviewui.com)
|
||||
### [English (2.0)](https://www.iviewui.com)(Working)
|
||||
|
||||
## Overview
|
||||
|
||||
|
@ -46,7 +47,7 @@ using npm
|
|||
npm install iview --save
|
||||
```
|
||||
Or using script tag for global use
|
||||
```
|
||||
```html
|
||||
<script type="text/javascript" src="iview.min.js"></script>
|
||||
```
|
||||
|
||||
|
@ -84,6 +85,7 @@ Normal browsers and Internet Explorer 9+.
|
|||
| [GITleonine1989](https://github.com/GITleonine1989) |  |
|
||||
| [huixisheng](https://github.com/huixisheng) |  |
|
||||
|
||||
|
||||
## Links
|
||||
|
||||
- [TalkingData](https://github.com/TalkingData)
|
||||
|
|
|
@ -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
Reference in a new issue