mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
fix:switch方向改变&rename
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user