Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
kaisa
/
SopWeb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dfc86808
authored
Nov 20, 2025
by
kaisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:限制输入id不超过8位
parent
fff012fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/views/activity/recruitment/components/sign/index.vue
src/views/activity/recruitment/components/sign/index.vue
View file @
dfc86808
...
...
@@ -315,8 +315,9 @@ const onSubmit = async () => {
:rules=
"[
{ required: true, message: '请選擇平臺' }]" />
<van-field
v-show=
"isShowWriteId"
v-model=
"formData.uid"
name=
"id"
type=
"number"
:label=
"`$
{selectPlatform}:`" placeholder="請輸入"
:rules="[{ required: true, message: `请輸入${selectPlatform}` }]" />
maxlength=
"8"
:label=
"`$
{selectPlatform}:`" placeholder="請輸入"
:rules="[{ required: true, message: `请輸入${selectPlatform}` }]"
@input="formData.uid = formData.uid.slice(0, 8)" />
<span
v-show=
"isShowWriteId"
class=
"platform-tips"
>
主播僅允許選定一個合作平台,多平台合作模式後續開放,敬請期待
</span>
...
...
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