diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/BillNote_frontend/src/pages/HomePage/components/NoteForm.tsx b/BillNote_frontend/src/pages/HomePage/components/NoteForm.tsx index 476945f..9a26b5d 100644 --- a/BillNote_frontend/src/pages/HomePage/components/NoteForm.tsx +++ b/BillNote_frontend/src/pages/HomePage/components/NoteForm.tsx @@ -21,7 +21,7 @@ import { useForm } from 'react-hook-form' import { z } from 'zod' import { zodResolver } from '@hookform/resolvers/zod' import { Info, Clock, Loader2 } from 'lucide-react' - +import { message } from 'antd' import { Tooltip, TooltipContent, @@ -156,7 +156,11 @@ const NoteForm = () => { } const isGenerating = () => { console.log('🚀 isGenerating', getCurrentTask()?.status) - return getCurrentTask()?.status != 'SUCCESS' && getCurrentTask()?.status != 'FAILED' && getCurrentTask()?.status != undefined + return ( + getCurrentTask()?.status != 'SUCCESS' && + getCurrentTask()?.status != 'FAILED' && + getCurrentTask()?.status != undefined + ) } const handleFileUpload = async (file: File, onSuccess: (url: string) => void) => { if (!file) return @@ -245,6 +249,7 @@ const NoteForm = () => { 哔哩哔哩 Youtube + {/*抖音*/} 本地视频