fix: 修复转账数据获取时的分页参数传递;更新状态列渲染类型
This commit is contained in:
@@ -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,
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user