Jelajahi Sumber

fix: 修改物料列表显示不全问题

yongCode 4 bulan lalu
induk
melakukan
0dad56242b
1 mengubah file dengan 3 tambahan dan 5 penghapusan
  1. 3 5
      src/views/DetailView.vue

+ 3 - 5
src/views/DetailView.vue

@@ -110,14 +110,12 @@
               </el-table>
               <div class="w-full mt-2">
                 <el-pagination
-                  class="float-right"
-                  v-if="total > 0"
                   background
                   hide-on-single-page
                   :current-page="pageNum"
-                  :page-size="20"
+                  :page-size="5"
                   :pager-count="5"
-                  layout="prev, pager, next"
+                  layout="->,prev, pager, next"
                   :total="total"
                   @current-change="handleCurrentChange"
                 />
@@ -196,7 +194,7 @@ const total = ref(0)
 
 const getWlList = (params) => {
   getwlList({ basisId: queryId.value, ...params }).then((res) => {
-    // console.log(res)
+     console.log(res)
     wlList.value = res.rows
     total.value = res.total
   })