🎨 add eslint

This commit is contained in:
jingsam 2016-12-25 22:49:42 +08:00
parent 829a2e4cfc
commit b0893113b3
88 changed files with 376 additions and 370 deletions

View file

@ -39,13 +39,13 @@
data: {
type: Array,
default () {
return []
return [];
}
},
value: {
type: Array,
default () {
return []
return [];
}
},
disabled: {
@ -88,7 +88,7 @@
visible: false,
selected: [],
tmpSelected: []
}
};
},
computed: {
classes () {
@ -99,7 +99,7 @@
[`${prefixCls}-visible`]: this.visible,
[`${prefixCls}-disabled`]: this.disabled
}
]
];
},
showCloseIcon () {
return this.value && this.value.length && this.clearable;
@ -182,5 +182,5 @@
this.updateSelected();
}
}
}
</script>
};
</script>