From 0d6e3572c734b6afd95323668c111b34f053fa6e Mon Sep 17 00:00:00 2001 From: ruibaby Date: Wed, 10 Apr 2019 20:32:00 +0800 Subject: [PATCH] JSLint --- .../DescriptionList/DescriptionList.vue | 4 +- src/components/SettingDrawer/SettingItem.vue | 2 +- src/views/attachment/AttachmentList.vue | 64 ++++++++++++++++--- 3 files changed, 59 insertions(+), 11 deletions(-) diff --git a/src/components/DescriptionList/DescriptionList.vue b/src/components/DescriptionList/DescriptionList.vue index 7f98fec43..7a376db2c 100644 --- a/src/components/DescriptionList/DescriptionList.vue +++ b/src/components/DescriptionList/DescriptionList.vue @@ -24,7 +24,7 @@ const Item = { type: Number } }, - render () { + render() { return (
{this.$props.term}
@@ -69,7 +69,7 @@ export default { default: 'horizontal' } }, - provide () { + provide() { return { col: this.col > 4 ? 4 : this.col } diff --git a/src/components/SettingDrawer/SettingItem.vue b/src/components/SettingDrawer/SettingItem.vue index 5f7486802..2b3b553c0 100644 --- a/src/components/SettingDrawer/SettingItem.vue +++ b/src/components/SettingDrawer/SettingItem.vue @@ -35,4 +35,4 @@ export default { } } - \ No newline at end of file + diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index 89d1417ae..def3ae603 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -1,42 +1,90 @@