chore: add trailingComma

This commit is contained in:
陈嘉涵
2020-01-19 11:57:09 +08:00
parent e841175fe8
commit 389d68884d
269 changed files with 2706 additions and 2702 deletions

View File

@@ -41,7 +41,7 @@
<van-checkbox v-model="checkbox3">
{{ $t('customIcon') }}
<template #icon="{ checked }">
<img :src="checked ? activeIcon : inactiveIcon">
<img :src="checked ? activeIcon : inactiveIcon" />
</template>
</van-checkbox>
</demo-block>
@@ -110,7 +110,7 @@ export default {
toggleAll: '全选与反选',
checkAll: '全选',
inverse: '反选',
disabledLabelClick: '禁用文本点击'
disabledLabelClick: '禁用文本点击',
},
'en-US': {
checkbox: 'Checkbox',
@@ -124,8 +124,8 @@ export default {
toggleAll: 'Toggle All',
checkAll: 'Check All',
inverse: 'Inverse',
disabledLabelClick: 'Disable the click event of label'
}
disabledLabelClick: 'Disable the click event of label',
},
},
data() {
@@ -139,14 +139,14 @@ export default {
list: [
'a',
'b',
'c'
'c',
],
result: ['a', 'b'],
result2: [],
result3: [],
checkAllResult: [],
activeIcon: 'https://img.yzcdn.cn/vant/user-active.png',
inactiveIcon: 'https://img.yzcdn.cn/vant/user-inactive.png'
inactiveIcon: 'https://img.yzcdn.cn/vant/user-inactive.png',
};
},
@@ -161,8 +161,8 @@ export default {
toggleAll() {
this.$refs.group.toggleAll();
}
}
},
},
};
</script>