zs 8 mesiacov pred
rodič
commit
08b67ff112
1 zmenil súbory, kde vykonal 5 pridanie a 3 odobranie
  1. 5 3
      src/views/center/company.vue

+ 5 - 3
src/views/center/company.vue

@@ -104,10 +104,12 @@ const searchOther = async () => {
     }
   }
 }
-const search = async () => {
+const search = async (query = { skip, limit }) => {
+  skip = query.skip
+  limit = query.limit
   const info = {
-    skip: 0,
-    limit: 6,
+    skip: query.skip,
+    limit: query.limit,
     incubator: incubatorInfo.value.id
   }
   const res = await cirelationStore.list(info)