Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
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
front-end-dev
techbook
Commits
dc646b8c
Commit
dc646b8c
authored
Jul 29, 2020
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bp最大限制
parent
2c12baeb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
proactivity.vue
src/views/publishactivity/proactivity.vue
+3
-3
No files found.
src/views/publishactivity/proactivity.vue
View file @
dc646b8c
...
...
@@ -676,7 +676,7 @@
if
(
this
.
formData
.
shareLimit
.
length
>
3
)
this
.
formData
.
shareLimit
=
this
.
formData
.
shareLimit
.
slice
(
0
,
3
);
this
.
formData
.
shareLimit
=
this
.
formData
.
shareLimit
.
replace
(
/
\D
/g
,
''
);
}
else
if
(
state
==
4
){
if
(
this
.
contactsform
.
fieldLength
.
length
>
3
)
this
.
contactsform
.
fieldLength
=
this
.
contactsform
.
fieldLength
.
slice
(
0
,
3
);
if
(
this
.
contactsform
.
fieldLength
.
length
>
3
)
this
.
contactsform
.
fieldLength
=
this
.
contactsform
.
fieldLength
.
slice
(
0
,
2
);
this
.
contactsform
.
fieldLength
=
this
.
contactsform
.
fieldLength
.
replace
(
/
\D
/g
,
''
);
}
else
if
(
state
==
5
){
if
(
this
.
formData
.
questionLimit
.
length
>
2
)
this
.
formData
.
questionLimit
=
this
.
formData
.
questionLimit
.
slice
(
0
,
2
);
...
...
@@ -1000,7 +1000,7 @@
//添加自定义字段
subcontacts
(){
if
(
this
.
contactsform
.
fieldType
==
9
||
this
.
contactsform
.
fieldType
==
10
){
if
(
this
.
contactsform
.
fieldLength
==
''
||
this
.
contactsform
.
fieldLength
<
1
||
this
.
contactsform
.
fieldLength
>
10
0
){
if
(
this
.
contactsform
.
fieldLength
==
''
||
this
.
contactsform
.
fieldLength
<
1
||
this
.
contactsform
.
fieldLength
>
5
0
){
this
.
$message
.
error
(
this
.
$t
(
'pubactivities.sizeincorrectly'
));
return
;
}
...
...
@@ -1030,7 +1030,7 @@
},
//修改自定义字段
editcontacts
(){
if
(
this
.
contactsform
.
fieldLength
==
''
||
this
.
contactsform
.
fieldLength
<
1
||
this
.
contactsform
.
fieldLength
>
10
0
){
if
(
this
.
contactsform
.
fieldLength
==
''
||
this
.
contactsform
.
fieldLength
<
1
||
this
.
contactsform
.
fieldLength
>
5
0
){
this
.
$message
.
error
(
this
.
$t
(
'pubactivities.sizeincorrectly'
));
return
;
}
...
...
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