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
yyq
2017-11-29 14:11:40 +0800
Commit
6ff594c1821e7ad2fe641464eee00945b450c2f1
1 parent
615eda54
add cart error tip
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
public/js/product/detail.page.js
public/js/product/detail.page.js
View file @
6ff594c
...
...
@@ -172,6 +172,10 @@ function addCart() {
alert
.
show
();
return
;
}
alert
=
new
Alert
(
data
.
message
||
'网络异常,请稍后再试'
);
alert
.
show
();
return
;
}
return
$
.
Deferred
().
reject
().
promise
();
// eslint-disable-line
...
...
Please
register
or
login
to post a comment