Browse Source

Merge branch '2025北京诚祥App' of https://gogs.mtavip.com/wangguoyu/uniProject into 2025北京诚祥App

tanxue 1 week ago
parent
commit
322bfc3e86
1 changed files with 3 additions and 3 deletions
  1. 3 3
      pages/admin/Hetong/HetongList.vue

+ 3 - 3
pages/admin/Hetong/HetongList.vue

@@ -48,7 +48,7 @@ onLoad((options) => {
 	})
 
 onShow(() => {
-	onRefresh();
+	getMore()
 })
 
 function onRefresh() {
@@ -71,7 +71,7 @@ function refreshData() {
 	getHetongList(opt).then(res => {
 		data.list = data.list.concat(res.data.data);
 		data.loading = false;
-		if (res.data.total >= data.list.length) {
+		if (res.data.total > data.list.length) {
 			data.state = 'more';
 			data.loading = false;
 		} else {
@@ -96,7 +96,7 @@ function getMore() {
 	getHetongList(opt).then(res => {
 		data.list = data.list.concat(res.data.data);
 		data.loading = false;
-		if (res.data.total >= data.list.length) {
+		if (res.data.total > data.list.length) {
 			data.state = 'more';
 			data.loading = false;
 		} else {