register location href
Showing
1 changed file
with
1 additions
and
8 deletions
@@ -54,14 +54,7 @@ $btnSure.on('touchstart', function() { | @@ -54,14 +54,7 @@ $btnSure.on('touchstart', function() { | ||
54 | location.href = data.data; | 54 | location.href = data.data; |
55 | }, 1000); | 55 | }, 1000); |
56 | } else { | 56 | } else { |
57 | - if (data.code === 401 || data.code === 404 || data.code === 505) { | ||
58 | - showErrTip(data.message); | ||
59 | - } else { | ||
60 | - showErrTip(data.message); | ||
61 | - setTimeout(function() { | ||
62 | - location.href = data.data; | ||
63 | - }, 1000); | ||
64 | - } | 57 | + showErrTip(data.message); |
65 | } | 58 | } |
66 | } | 59 | } |
67 | }); | 60 | }); |
-
Please register or login to post a comment