doc: fix wrong indent in select.md (#4972)

pull/4890/head^2
Jiewei Qian 2017-05-20 01:49:02 +08:00 committed by cinwell.li
parent 4a68400cc1
commit 3a90003231
2 changed files with 18 additions and 18 deletions

View File

@ -57,7 +57,7 @@ Switch is used for switching between two opposing states.
:::demo You can set `on-value` and `off-value` attributes. They both receive a `Boolean`, `String` or `Number` typed value. :::demo You can set `on-value` and `off-value` attributes. They both receive a `Boolean`, `String` or `Number` typed value.
```html ```html
<el-tooltip :content="'Switch value: ' + value3" placement="top"> <el-tooltip :content="'Switch value: ' + value3" placement="top">
<el-switch <el-switch
v-model="value3" v-model="value3"
on-color="#13ce66" on-color="#13ce66"
@ -65,7 +65,7 @@ Switch is used for switching between two opposing states.
on-value="100" on-value="100"
off-value="0"> off-value="0">
</el-switch> </el-switch>
</el-tooltip> </el-tooltip>
<script> <script>
export default { export default {

View File

@ -57,7 +57,7 @@
:::demo 设置`on-value`和`off-value`属性,接受`Boolean`, `String`或`Number`类型的值。 :::demo 设置`on-value`和`off-value`属性,接受`Boolean`, `String`或`Number`类型的值。
```html ```html
<el-tooltip :content="'Switch value: ' + value3" placement="top"> <el-tooltip :content="'Switch value: ' + value3" placement="top">
<el-switch <el-switch
v-model="value3" v-model="value3"
on-color="#13ce66" on-color="#13ce66"
@ -65,7 +65,7 @@
on-value="100" on-value="100"
off-value="0"> off-value="0">
</el-switch> </el-switch>
</el-tooltip> </el-tooltip>
<script> <script>
export default { export default {