Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
1 changed file
with
3 additions
and
1 deletions
@@ -67,7 +67,9 @@ $consultForm.on('submit', function() { | @@ -67,7 +67,9 @@ $consultForm.on('submit', function() { | ||
67 | loading.hideLoadingMask(); | 67 | loading.hideLoadingMask(); |
68 | } else { | 68 | } else { |
69 | tip.show('提交成功~'); | 69 | tip.show('提交成功~'); |
70 | - setTimeout(window.history.go(-1), 3000); | 70 | + setTimeout(function() { |
71 | + window.history.go(-1); | ||
72 | + }, 3000); | ||
71 | } | 73 | } |
72 | }).fail(function() { | 74 | }).fail(function() { |
73 | tip.show('网络出了点问题~'); | 75 | tip.show('网络出了点问题~'); |
-
Please register or login to post a comment