|
@@ -173,8 +173,8 @@ var articleList = new Vue({
|
|
|
toPagination: function toPagination(pageNum) {
|
|
|
if (pageNum <= this.pageTotal) {
|
|
|
this.listQuery.pageNum = pageNum; // console.log('页码跳转');
|
|
|
- $('html ,body').animate({scrollTop: 0}, 400, 'linear'); // 页面置顶
|
|
|
this.getArticleList();
|
|
|
+ $('html ,body').animate({scrollTop: 0}, 400, 'linear'); // 页面置顶
|
|
|
}
|
|
|
},
|
|
|
// 输入框设置页码
|