Commit 4c2243a7 authored by baiyaaaaa's avatar baiyaaaaa Committed by GitHub

Merge pull request #2006 from Leopoldthecoder/pagination-button

Pagination: add button type
parents 85a03183 ea9d216f
......@@ -100,6 +100,7 @@ export default {
render(h) {
return (
<button
type="button"
class={['btn-prev', { disabled: this.$parent.internalCurrentPage <= 1 }]}
on-click={ this.$parent.prev }>
<i class="el-icon el-icon-arrow-left"></i>
......@@ -112,6 +113,7 @@ export default {
render(h) {
return (
<button
type="button"
class={[
'btn-next',
{ disabled: this.$parent.internalCurrentPage === this.$parent.internalPageCount || this.$parent.internalPageCount === 0 }
......
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