@@ -8,18 +8,18 @@ export default {
88 < div class = " vue-pagination" >
99 < nav>
1010 < ul class = " pagination" >
11- < li class = {{ disabled: this .pages .current_page === 1 }}>
12- < a href= " #" on- click= { (e ) => this .firstPage (e) }>< span aria- hidden= " true" > & laquo;& laquo;< / span>< / a>
11+ < li class = {{disabled: this .pages .current_page === 1 }}>
12+ < a href= " #" on- click= {(e ) => this .firstPage (e)}>< span aria- hidden= " true" > & laquo;& laquo;< / span>< / a>
1313 < / li>
1414 < li class = {{ disabled: this .pages .current_page === 1 }}>
15- < a href= " #" on- click= { (e ) => this .previous (e) }>< span aria- hidden= " true" > & laquo;< / span>< / a>
15+ < a href= " #" on- click= {(e ) => this .previous (e)}>< span aria- hidden= " true" > & laquo;< / span>< / a>
1616 < / li>
17- { this .paginationItems }
18- < li class = {{ disabled: this .pages .current_page === this .pages .last_page }}>
19- < a href= " #" on- click= { (e ) => this .next (e) }>< span aria- hidden= " true" > & raquo;< / span>< / a>
17+ {this .paginationItems }
18+ < li class = {{disabled: this .pages .current_page === this .pages .last_page }}>
19+ < a href= " #" on- click= {(e ) => this .next (e)}>< span aria- hidden= " true" > & raquo;< / span>< / a>
2020 < / li>
2121 < li class = {{ disabled: this .pages .current_page === this .pages .last_page }}>
22- < a href= " #" on- click= { (e ) => this .lastPage (e, this .pages .last_page ) }>< span aria- hidden= " true" > & raquo;& raquo;< / span>< / a>
22+ < a href= " #" on- click= {(e ) => this .lastPage (e, this .pages .last_page )}>< span aria- hidden= " true" > & raquo;& raquo;< / span>< / a>
2323 < / li>
2424 < / ul>
2525 < / nav>
@@ -34,8 +34,8 @@ export default {
3434 items: DatasourceUtils .gettingItems ,
3535 paginationItems () {
3636 return this .items .map ((item , index ) => {
37- return < li class = {{ active: (this .pages .current_page === item) }}>
38- < a href= " #" on- click= { (e ) => this .change (e, item) }> { item }< / a>
37+ return < li class = {{active: (this .pages .current_page === item)}}>
38+ < a href= " #" on- click= {(e ) => this .change (e, item)}> {item}< / a>
3939 < / li>
4040 })
4141 }
0 commit comments