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
+8 -8
View File
@@ -56,13 +56,13 @@ export default {
'zh-CN': {
name: '张三',
defaultLabel: '设为默认联系人',
defaultTagText: '默认'
defaultTagText: '默认',
},
'en-US': {
name: 'John Snow',
defaultLabel: 'Set as the default contact',
defaultTagText: 'default'
}
defaultTagText: 'default',
},
},
data() {
@@ -72,7 +72,7 @@ export default {
showList: false,
showEdit: false,
isEdit: false,
list: []
list: [],
};
},
@@ -82,7 +82,7 @@ export default {
name: this.$t('name'),
tel: '13000000000',
id: 0,
isDefault: 1
isDefault: 1,
};
},
@@ -93,7 +93,7 @@ export default {
currentContact() {
const id = this.chosenContactId;
return id !== null ? this.list.filter(item => item.id === id)[0] : {};
}
},
},
created() {
@@ -135,8 +135,8 @@ export default {
if (this.chosenContactId === info.id) {
this.chosenContactId = null;
}
}
}
},
},
};
</script>