From 822d9d9494cc575c1bcdbaa51d68da817236c0b8 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 12 十月 2024 08:13:56 +0800 Subject: [PATCH] # --- zy-acs-flow/src/page/code/useCodeImport.jsx | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/zy-acs-flow/src/page/code/useCodeImport.jsx b/zy-acs-flow/src/page/code/useCodeImport.jsx index ced0084..5b62f25 100644 --- a/zy-acs-flow/src/page/code/useCodeImport.jsx +++ b/zy-acs-flow/src/page/code/useCodeImport.jsx @@ -1,9 +1,8 @@ import { useCallback, useMemo } from 'react'; -import { useDataProvider, useGetIdentity } from 'react-admin'; import request from '@/utils/request'; export function useCodeImport() { - + const processBatch = useCallback(async (batch) => { const res = await request.post('/code/import', batch); const { code, msg, data } = res.data; -- Gitblit v1.9.1