Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王立鹏
corporate-culture-qd
Commits
0be8205c
Commit
0be8205c
authored
Oct 28, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 25171】fix: 实践抽屉表单的图片改为选填,与首页快捷发布保持一致
parent
dc3a55b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
PracticeForm.vue
src/views/publishLongArticle/components/PracticeForm.vue
+1
-2
No files found.
src/views/publishLongArticle/components/PracticeForm.vue
View file @
0be8205c
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
* 实践(PRACTICE)专属表单——自己管自己的整个抽屉表单,不依赖外层的公共表单。
* 实践(PRACTICE)专属表单——自己管自己的整个抽屉表单,不依赖外层的公共表单。
*
*
* 实践的特殊规则:
* 实践的特殊规则:
* - 用"图片"(imgUrl)不是"封面图",提交时自动取第一张图当 faceUrl,跟问吧一样
* - 用"图片"(imgUrl)不是"封面图",
选填;
提交时自动取第一张图当 faceUrl,跟问吧一样
* - 主/副标签必填
* - 主/副标签必填
* - 完全没有推送功能,不管是不是官方账号——这是跟帖子/问吧/专栏/专访最大的区别
* - 完全没有推送功能,不管是不是官方账号——这是跟帖子/问吧/专栏/专访最大的区别
* - 官方账号可以选一个"所属一级部门",选填,不是必填项
* - 官方账号可以选一个"所属一级部门",选填,不是必填项
...
@@ -135,7 +135,6 @@ const disabledMinutesOnlyTens = () =>
...
@@ -135,7 +135,6 @@ const disabledMinutesOnlyTens = () =>
Array
.
from
({
length
:
60
},
(
_
,
i
)
=>
i
).
filter
((
m
)
=>
m
%
10
!==
0
)
Array
.
from
({
length
:
60
},
(
_
,
i
)
=>
i
).
filter
((
m
)
=>
m
%
10
!==
0
)
const
rules
:
Record
<
string
,
FormItemRule
[]
>
=
{
const
rules
:
Record
<
string
,
FormItemRule
[]
>
=
{
imgUrl
:
[{
required
:
true
,
message
:
'请上传内容图片'
,
trigger
:
'blur'
}],
mainTagId
:
[{
required
:
true
,
message
:
'请选择主标签'
,
trigger
:
'blur'
}],
mainTagId
:
[{
required
:
true
,
message
:
'请选择主标签'
,
trigger
:
'blur'
}],
sendType
:
[{
required
:
true
,
message
:
'请选择发布类型'
,
trigger
:
'blur'
}],
sendType
:
[{
required
:
true
,
message
:
'请选择发布类型'
,
trigger
:
'blur'
}],
sendTime
:
[
sendTime
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment