Commit 0be8205c by lijiabin

【需求 25171】fix: 实践抽屉表单的图片改为选填,与首页快捷发布保持一致

parent dc3a55b9
......@@ -86,7 +86,7 @@
* 实践(PRACTICE)专属表单——自己管自己的整个抽屉表单,不依赖外层的公共表单。
*
* 实践的特殊规则:
* - 用"图片"(imgUrl)不是"封面图",提交时自动取第一张图当 faceUrl,跟问吧一样
* - 用"图片"(imgUrl)不是"封面图",选填;提交时自动取第一张图当 faceUrl,跟问吧一样
* - 主/副标签必填
* - 完全没有推送功能,不管是不是官方账号——这是跟帖子/问吧/专栏/专访最大的区别
* - 官方账号可以选一个"所属一级部门",选填,不是必填项
......@@ -135,7 +135,6 @@ const disabledMinutesOnlyTens = () =>
Array.from({ length: 60 }, (_, i) => i).filter((m) => m % 10 !== 0)
const rules: Record<string, FormItemRule[]> = {
imgUrl: [{ required: true, message: '请上传内容图片', trigger: 'blur' }],
mainTagId: [{ required: true, message: '请选择主标签', trigger: 'blur' }],
sendType: [{ required: true, message: '请选择发布类型', trigger: 'blur' }],
sendTime: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment