浏览代码

修改排序问题

chenrui 2 年之前
父节点
当前提交
ead952f198
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      pages/vinAnalyse/fitProductlist.vue

+ 2 - 1
pages/vinAnalyse/fitProductlist.vue

@@ -183,9 +183,10 @@ export default {
 			this.reset();
 		},
 		handelSort() {
+			this.pageNo = 1;
 			var ajaxData = {
 				shelfSn: this.shelfSn,
-				pageNo: this.pageNo,
+				pageNo: 1,
 				pageSize: this.pageSize
 			};
 			if (this.keyword) {