ソースを参照

分页加载处理

liuyanpeng 3 年 前
コミット
199e2706b4
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/components/customer/CommonTable.vue

+ 2 - 2
src/components/customer/CommonTable.vue

@@ -63,8 +63,8 @@ const pagination = reactive({
 const showSizeChange = (current, pageSize) => {
   setTimeout(() => {
     pagination.current = 1;
-    // emit('getPage', pagination.current, pageSize);
-  },500);
+    emit('getPage', pagination.current, pageSize);
+  });
   pagination.pageSize = pageSize;
 };