Browse Source

fix(bugs): 修改员工列表的刷新

tangning 3 năm trước cách đây
mục cha
commit
d825ac2395
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/staff/list.vue

+ 2 - 2
src/views/staff/list.vue

@@ -190,7 +190,7 @@
         rowKey: 'id',
         pagination: { pageSize: 20 },
         afterFetch: (T) => {
-          console.log('afterFetch', T);
+          getNumByStaffData();
           return T;
         },
         bordered: true,
@@ -275,7 +275,7 @@
         t,
         reloadList: function () {
           reload();
-          getNumByStaffData();
+          // getNumByStaffData();
         },
         go,
         renderRoleType,