mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-09-08 00:56:40 +08:00
fix: 隐藏多余错误提示
This commit is contained in:
@@ -297,7 +297,7 @@ const NoteForm = () => {
|
|||||||
))}
|
))}
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
<FormMessage />
|
<FormMessage style={{ display: 'none' }} />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
@@ -314,7 +314,7 @@ const NoteForm = () => {
|
|||||||
) : (
|
) : (
|
||||||
<Input disabled={!!editing} placeholder="请输入视频网站链接" {...field} />
|
<Input disabled={!!editing} placeholder="请输入视频网站链接" {...field} />
|
||||||
)}
|
)}
|
||||||
<FormMessage />
|
<FormMessage style={{ display: 'none' }} />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user