|
|
@@ -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
|