Commit eb4c93a2 authored by FE-安焕焕's avatar FE-安焕焕 👣

修改跳转地址

parent 6a31eba1
......@@ -5,7 +5,7 @@ export const goUrlExtends = {
// 商城地址
const returnUrl = this.getReturnUrl();
if (returnUrl) {
window.location.replace = `${returnUrl}`;
window.location.replace(`${returnUrl}`);
return;
}
this.$router.replace({ name: 'home' });
......@@ -13,7 +13,7 @@ export const goUrlExtends = {
goOrderList() {
const returnUrl = this.getReturnUrl();
if (returnUrl) {
window.location.replace = `${returnUrl}/orderList`;
window.location.replace(`${returnUrl}/orderList`);
return;
}
this.$router.replace({ name: 'orderList' }, 'sessionStorage');
......@@ -22,7 +22,7 @@ export const goUrlExtends = {
const returnUrl = this.getReturnUrl();
const orderNo = localStorage.get('orderNo')?.orderNo;
if (returnUrl) {
window.location.replace = `${returnUrl}/orderDetail?orderNo=${orderNo}`;
window.location.replace(`${returnUrl}/orderDetail?orderNo=${orderNo}`);
return;
}
this.$router.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment