Authored by 郭成尧

change-to-exchange

... ... @@ -59,7 +59,9 @@
if (res.code !== 200) {
tip.show(res.message || '网络错误');
} else {
location.href = `http://m.yohobuy.com/home/return/${_this.type}/detail/${_this.applyid}`;
let type = _this.type === 'change' ? 'exchange' : _this.type;
location.href = `http://m.yohobuy.com/home/return/${type}/detail/${_this.applyid}`;
return false;
}
});
... ...