[fixed] eslint error

[new] add function-bind package
This commit is contained in:
huixisheng 2017-03-04 09:14:14 +08:00
parent 9b6ff1ce28
commit 44412093e1
2 changed files with 3 additions and 2 deletions

View file

@ -26,7 +26,7 @@
return {
separator: '',
showSeparator: false
}
};
},
mounted () {
this.showSeparator = this.$slots.separator !== undefined;