Handy_Cao 2 年之前
父节点
当前提交
f6cb43ee31

+ 1 - 5
src/packages/mobile/views/bank/capital/statement/history/index.vue

@@ -58,14 +58,10 @@ const columns: Model.TableColumn[] = [
 const { loading, pageIndex, pageCount, run } = useRequest(queryHisAmountLog, {
     manual: true,
     params: {
-        pagesize: 20,
         operateType: operatetype.value.toString()
     },
     onSuccess: (res) => {
-        if (pageIndex.value === 1) {
-            dataList.value = []
-        }
-        dataList.value.push(...res.data)
+        dataList.value = res.data
     },
     onError: () => {
         error.value = true

+ 1 - 5
src/packages/mobile/views/bank/capital/statement/index.vue

@@ -42,14 +42,10 @@ const columns: Model.TableColumn[] = [
 
 const { loading, pageIndex, pageCount, run } = useRequest(queryAmountLog, {
     params: {
-        pagesize: 20,
         operateType: operatetype.value.toString()
     },
     onSuccess: (res) => {
-        if (pageIndex.value === 1) {
-            dataList.value = []
-        }
-        dataList.value.push(...res.data)
+        dataList.value = res.data
     },
     onError: () => {
         error.value = true