Showing
1 changed file
with
3 additions
and
1 deletions
@@ -59,7 +59,9 @@ | @@ -59,7 +59,9 @@ | ||
59 | if (res.code !== 200) { | 59 | if (res.code !== 200) { |
60 | tip.show(res.message || '网络错误'); | 60 | tip.show(res.message || '网络错误'); |
61 | } else { | 61 | } else { |
62 | - location.href = `http://m.yohobuy.com/home/return/${_this.type}/detail/${_this.applyid}`; | 62 | + let type = _this.type === 'change' ? 'exchange' : _this.type; |
63 | + | ||
64 | + location.href = `http://m.yohobuy.com/home/return/${type}/detail/${_this.applyid}`; | ||
63 | return false; | 65 | return false; |
64 | } | 66 | } |
65 | }); | 67 | }); |
-
Please register or login to post a comment