|
@@ -7,7 +7,7 @@ import { expenseClient, clientClient } from '@/client/api';
|
|
|
import dayjs, { Dayjs } from 'dayjs';
|
|
import dayjs, { Dayjs } from 'dayjs';
|
|
|
import { App } from 'antd';
|
|
import { App } from 'antd';
|
|
|
import { formatCurrency, formatDate } from '@/client/utils/utils';
|
|
import { formatCurrency, formatDate } from '@/client/utils/utils';
|
|
|
-import { errorLogger, apiLogger } from '@/client/utils/logger';
|
|
|
|
|
|
|
+import { logger } from '@/client/utils/logger';
|
|
|
|
|
|
|
|
// 定义类型
|
|
// 定义类型
|
|
|
type ExpenseItem = InferResponseType<typeof expenseClient.$get, 200>['data'][0];
|
|
type ExpenseItem = InferResponseType<typeof expenseClient.$get, 200>['data'][0];
|