Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
qinhaitao
taobao-mini-template
Commits
c29b8621
Commit
c29b8621
authored
Dec 02, 2020
by
zhaofei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s
parent
1acb8e43
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
add.js
client/pages/activity/add/add.js
+4
-0
No files found.
client/pages/activity/add/add.js
View file @
c29b8621
...
...
@@ -158,6 +158,8 @@ Component({
startTime
,
endTime
,
tasks
,
<%
for
(
var
i
=
0
;
i
<
boxDatas
.
length
;
++
i
)
{
%>
<%-
`
${
boxkeyDatas
[
i
].
name
}
, `
%><%
}
%>
<%
for
(
var
i
=
0
;
i
<
activityConfigList
.
length
;
++
i
)
{
%>
<%-
!
taskKeys
.
includes
(
activityConfigList
[
i
].
key
)
&&
activityConfigList
[
i
].
type
!==
'Labels'
?
activityConfigList
[
i
].
key
+
','
:
''
%><%
}
%>
}
=
params
;
...
...
@@ -171,6 +173,8 @@ Component({
endTime
:
new
Date
(
endTime
).
getTime
(),
tasks
,
prizeList
,
<%
for
(
var
i
=
0
;
i
<
boxDatas
.
length
;
++
i
)
{
%>
<%-
`
${
boxkeyDatas
[
i
].
name
}
, `
%><%
}
%>
// prizeInfoList: this.formatPrizeList(prizeInfoList),
<%
for
(
var
i
=
0
;
i
<
activityConfigList
.
length
;
++
i
)
{
%>
<%-
(
!
taskKeys
.
includes
(
activityConfigList
[
i
].
key
)
&&
activityConfigList
[
i
].
type
!==
'Labels'
&&
activityConfigList
[
i
].
sort
!=
'prizePool'
&&
activityConfigList
[
i
].
key
!=
'time'
)
?
activityConfigList
[
i
].
key
+
','
:
''
%><%
}
%>
...
...
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