Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
2016-08-02 17:57:28 +0800
Commit
d3f4abd905a29520a7df0fe1cc46dd97bc041df0
1 parent
6c2bc5e5
sale error
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
apps/product/models/sale-handler.js
apps/product/models/sale-handler.js
View file @
d3f4abd
...
...
@@ -57,6 +57,10 @@ const discountSplit = (text, targetString) => {
let
endNum
=
0
,
i
;
if
(
!
text
)
{
return
{};
}
for
(
i
=
0
;
i
<
text
.
length
;
i
++
)
{
if
(
targetString
!==
null
)
{
if
(
text
[
i
]
!==
targetString
)
{
...
...
Please
register
or
login
to post a comment