lifanagju_citu 9 ماه پیش
والد
کامیت
97e56844e0
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      pages/index/position.vue

+ 2 - 2
pages/index/position.vue

@@ -61,7 +61,7 @@ const getData = async () => {
 getData()
 
 const onSearch = (name) => {
-  page.pageNo = 1
+  query.pageNo = 1
   noMore.value = false
   searchContent = name
   positionListData.value = []
@@ -69,7 +69,7 @@ const onSearch = (name) => {
 }
 
 const loadingMore = () => { // 加载更多
-  page.pageNo++
+  query.pageNo++
   getData()
 }