fix: 修复转账数据获取时的分页参数传递;更新状态列渲染类型

This commit is contained in:
2025-12-24 19:25:27 +07:00
parent 6472856eb2
commit 75867d6845
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,6 @@ const fetchData: TableFetchData = ({ pagination, filter }) => {
return safeClient(() => return safeClient(() =>
client.api.admin.transfer.get({ client.api.admin.transfer.get({
query: { query: {
...pagination,
...filter ...filter
} }
}) })
@@ -76,7 +75,7 @@ const columns: TableBaseColumns = [
title: '状态', title: '状态',
key: 'status', key: 'status',
width: 120, width: 120,
render: row => { render: (row: any) => {
return h( return h(
NTag, NTag,
{ {

View File

@@ -15,6 +15,7 @@
"types": ["vite/client", "node", "unplugin-icons/types/vue", "naive-ui/volar"], "types": ["vite/client", "node", "unplugin-icons/types/vue", "naive-ui/volar"],
"strict": true, "strict": true,
"strictNullChecks": true, "strictNullChecks": true,
"noImplicitAny": false,
"noUnusedLocals": false, "noUnusedLocals": false,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"esModuleInterop": true, "esModuleInterop": true,