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
876e8b84
Commit
876e8b84
authored
Jul 14, 2021
by
管新明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 调整中奖名单筛选条件生成代码逻辑
parent
9d665f75
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
rank-dialog.js
client/components/dialog/rank-dialog/rank-dialog.js
+18
-2
No files found.
client/components/dialog/rank-dialog/rank-dialog.js
View file @
876e8b84
...
...
@@ -44,7 +44,15 @@ Component({
if
(
<%
for
(
var
i
=
0
;
i
<
winnersFilterData
.
length
;
++
i
)
{
%>
<%-
`
${
winnersFilterData
[
i
]
==
'timeRange'
?
`!
${
winnersFilterData
[
i
]}
.length`
:
`!
${
winnersFilterData
[
i
]}
`
}
${
i
===
winnersFilterData
.
length
-
1
?
''
:
'&&'
}
`
%>
<%-
`
${
winnersFilterData
[
i
]
==
'timeRange'
?
`!
${
winnersFilterData
[
i
]}
.length`
:
`!
${((
winnersFilterData
[
i
]
==
'prizeType'
||
winnersFilterData
[
i
]
==
'shipStatus'
||
winnersFilterData
[
i
]
==
'prizeDataType'
)
?
`
${
winnersFilterData
[
i
]}
== null`
:
`!
${
winnersFilterData
[
i
]}
`
)}
`
}
${
i
===
winnersFilterData
.
length
-
1
?
''
:
' &&'
}
`
%>
<%
}
%>
)
{
this
.
resetData
();
...
...
@@ -146,7 +154,15 @@ Component({
if
(
<%
for
(
var
i
=
0
;
i
<
winnersFilterData
.
length
;
++
i
)
{
%>
<%-
`
${
winnersFilterData
[
i
]
==
'timeRange'
?
`!
${
winnersFilterData
[
i
]}
.length`
:
`!
${
winnersFilterData
[
i
]}
`
}
${
i
===
winnersFilterData
.
length
-
1
?
''
:
'&&'
}
`
%>
<%-
`
${
winnersFilterData
[
i
]
==
'timeRange'
?
`!
${
winnersFilterData
[
i
]}
.length`
:
`!
${((
winnersFilterData
[
i
]
==
'prizeType'
||
winnersFilterData
[
i
]
==
'shipStatus'
||
winnersFilterData
[
i
]
==
'prizeDataType'
)
?
`
${
winnersFilterData
[
i
]}
== null`
:
`!
${
winnersFilterData
[
i
]}
`
)}
`
}
${
i
===
winnersFilterData
.
length
-
1
?
''
:
' &&'
}
`
%>
<%
}
%>
)
{
this
.
resetData
();
...
...
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