diff --git a/README.md b/README.md index 9f09067..96e3d14 100644 --- a/README.md +++ b/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) diff --git a/examples/routers/radio.vue b/examples/routers/radio.vue index c722c22..41b72c4 100644 --- a/examples/routers/radio.vue +++ b/examples/routers/radio.vue @@ -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'; } } } -- libgit2 0.21.4