fix: 增加 最新获取商品状态

This commit is contained in:
zhangds 2024-05-15 11:42:02 +08:00
parent 20ba90f8a0
commit ca89b62ce6
2 changed files with 26 additions and 0 deletions

View File

@ -164,6 +164,19 @@
this.goodsInfo.available = 9;
localStorage.setItem('goodsInfo', JSON.stringify(this.goodsInfo));
}
} else {
if (res.code == 403) {
if (this.backAble) {
this.tip(message, 2, '关闭');
setTimeout(() => {
window.location.href = localStorage.getItem('entryLink');
}, 3000);
} else {
this.tip(message, 2, '关闭');
}
} else {
this.tip(message, 2, '关闭');
}
}
})
}

View File

@ -163,6 +163,19 @@
this.goodsInfo.available = 9;
localStorage.setItem('goodsInfo', JSON.stringify(this.goodsInfo));
}
} else {
if (res.code == 403) {
if (this.backAble) {
this.tip(message, 2, '关闭');
setTimeout(() => {
window.location.href = localStorage.getItem('entryLink');
}, 3000);
} else {
this.tip(message, 2, '关闭');
}
} else {
this.tip(message, 2, '关闭');
}
}
})
}