chore: prettier all demos

This commit is contained in:
陈嘉涵
2020-01-19 15:39:00 +08:00
parent 207e80f396
commit 82208c42b8
55 changed files with 646 additions and 498 deletions

View File

@@ -70,8 +70,12 @@
</van-checkbox-group>
<div class="demo-checkbox-buttons">
<van-button type="primary" @click="checkAll">{{ $t('checkAll') }}</van-button>
<van-button type="info" @click="toggleAll">{{ $t('inverse') }}</van-button>
<van-button type="primary" @click="checkAll">
{{ $t('checkAll') }}
</van-button>
<van-button type="info" @click="toggleAll">
{{ $t('inverse') }}
</van-button>
</div>
</demo-block>
@@ -136,11 +140,7 @@ export default {
checkboxShape: true,
checkboxLabel: true,
checboxIcon: true,
list: [
'a',
'b',
'c',
],
list: ['a', 'b', 'c'],
result: ['a', 'b'],
result2: [],
result3: [],
@@ -167,7 +167,7 @@ export default {
</script>
<style lang="less">
@import "../../style/var";
@import '../../style/var';
.demo-checkbox {
background: @white;