fix the code style issue to pass eslint

This commit is contained in:
Leon Zhang 2016-12-21 13:44:34 +08:00 committed by 杨奕
parent 3bf6cf6418
commit cecf9eb8d5

View File

@ -112,12 +112,10 @@ export default {
render(h) { render(h) {
return ( return (
<button <button
class={ class={[
[ 'btn-next',
'btn-next', { disabled: this.$parent.internalCurrentPage === this.$parent.internalPageCount || this.$parent.internalPageCount === 0 }
{ disabled: this.$parent.internalCurrentPage === this.$parent.internalPageCount || this.$parent.internalPageCount === 0 } ]}
]
}
on-click={ this.$parent.next }> on-click={ this.$parent.next }>
<i class="el-icon el-icon-arrow-right"></i> <i class="el-icon el-icon-arrow-right"></i>
</button> </button>