Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
37a4e90cb6a8b146a54b03a510e1c0d4cb1d4c47
1 parent
8b5c2926
删除地址逻辑优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
static/js/me/address.js
static/js/me/address.js
View file @
37a4e90
...
...
@@ -39,17 +39,19 @@ $confim.on('touchend', '.cancel', function() {
if
(
$
.
type
(
res
)
!==
'object'
)
{
res
=
{};
}
$confim
.
hide
();
if
(
res
.
code
!==
200
)
{
tip
.
show
(
res
.
message
||
'网络出了点问题~'
);
loading
.
hideLoadingMask
();
}
else
{
window
.
location
.
reload
();
}
}).
fail
(
function
()
{
tip
.
show
(
'网络出了点问题~'
);
}).
always
(
function
()
{
deleteId
=
null
;
$confim
.
hide
();
loading
.
hideLoadingMask
();
}).
always
(
function
()
{
deleteId
=
null
;
});
});
...
...
@@ -73,7 +75,7 @@ $action.on('touchend', '.del', function() {
$submit
.
on
(
'touchend'
,
function
()
{
if
(
security
.
hasDangerInput
(
false
))
{
return
false
;
return
false
;
}
$addressForm
.
submit
();
return
false
;
...
...
@@ -82,4 +84,3 @@ $submit.on('touchend', function() {
}).
on
(
'touchend touchcancel'
,
function
()
{
$
(
this
).
removeClass
(
'highlight'
);
});
...
...
Please
register
or
login
to post a comment