[bugfix] SwitchCell: text vertical align (#852)

This commit is contained in:
neverland
2018-04-11 15:41:29 +08:00
committed by GitHub
parent 9367968a82
commit bd8dd90a28
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<template>
<cell :title="title" :border="border" class="van-switch-cell">
<cell center :title="title" :border="border" class="van-switch-cell">
<van-switch v-bind="$props" @input="$emit('input', $event)" />
</cell>
</template>