fix:switch方向改变&rename

This commit is contained in:
jiangruowei
2017-02-28 11:35:56 +08:00
parent 1c81270de2
commit 09cf3d1c25
4 changed files with 12 additions and 15 deletions

View File

@@ -6,7 +6,7 @@
<script>
/**
* o2-switch
* z-switch
* @module components/switch
* @desc 开关
* @param {boolean} [checked=false] - 开关状态
@@ -15,10 +15,10 @@
* @param {callback} [onChange] - 开关状态改变回调函数。
*
* @example
* <o2-switch checked="true" disabled="false"></o2-switch>
* <z-switch checked="true" disabled="false"></o2-switch>
*/
export default {
name: 'o2-switch',
name: 'z-switch',
props: {
checked: {
type: Boolean,