代码提交

This commit is contained in:
wong
2025-07-03 15:36:10 +08:00
parent 1843fb6079
commit f134b784c3

View File

@@ -115,10 +115,10 @@ export default function NewMaterialPage({ params }: { params: { id: string } })
showToast("请输入内容", "error")
return
}
if (!comment) {
showToast("请输入评论内容", "error")
return
}
// if (!comment) {
// showToast("请输入评论内容", "error")
// return
// }
if (materialType === 1 && images.length === 0) {
showToast("请上传图片", "error")
return