chenrui
7 天以前 b77cb967a3ae670fead19a461daa127a8a4647b2
src/views/basicData/customerFile/index.vue
@@ -236,16 +236,16 @@
  page.current = 1
  getList()
}
const pagination = ({ current, limit }) => {
  page.current = current;
  page.size = limit;
const pagination = (obj) => {
  page.current = obj.page;
  page.size = obj.limit;
  getList()
}
const getList = () => {
  tableLoading.value = true
  listCustomer({...searchForm.value, ...page}).then(res => {
    tableLoading.value = false
    tableData.value = res.rows
    tableData.value = res.records
    total.value = res.total
  })
}