fix: code style

This commit is contained in:
陈嘉涵
2017-08-25 15:57:38 +08:00
parent 43693fa781
commit e7b1d70900
18 changed files with 64 additions and 80 deletions

View File

@@ -8,22 +8,12 @@
</template>
<script>
import VanLoading from '../loading';
/**
* van-switch
* @module components/switch
* @desc 开关
* @param {boolean} [value=false] - 开关状态
* @param {boolean} [disabled=false] - 禁用
* @param {boolean} [loading=false] - loading状态
*
* @example
* <van-switch :checked="true" :disabled="false"></van-switch>
*/
import Loading from '../loading';
export default {
name: 'van-switch',
components: {
'van-loading': VanLoading
[Loading.name]: Loading
},
props: {
value: Boolean,