zs il y a 2 ans
Parent
commit
d657060573
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/user/scientist/studio/index.vue

+ 1 - 1
src/views/user/scientist/studio/index.vue

@@ -132,7 +132,7 @@ const searchStudio = async () => {
 const search = async (e: { skip: number; limit: number }) => {
   if (userInfo && userInfo.value.user_id && userInfo.value.status == '1') {
     const { skip, limit } = e;
-    let info = { limit: limit, skip: skip, ...searchForm.value };
+    let info = { limit: limit, skip: skip, ...searchForm.value, user_id: userInfo.value.user_id };
     const res: IQueryResult = await scientistsettle.query(info);
     tableData.value = res.data as any[];
     total.value = res.total;