Commit cecf9eb8 authored by Leon Zhang's avatar Leon Zhang Committed by 杨奕

fix the code style issue to pass eslint

parent 3bf6cf64
...@@ -112,12 +112,10 @@ export default { ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment