更换last_product_id触发机制

This commit is contained in:
Apple 2022-07-08 17:33:56 +08:00
parent f7cc77c2af
commit f1d9edfff0
1 changed files with 2 additions and 1 deletions

View File

@ -296,8 +296,9 @@
"token": sessionStorage.getItem('token') "token": sessionStorage.getItem('token')
} }
req.axiosPost('/key/usage', data).then(res => { req.axiosPost('/key/usage', data).then(res => {
sessionStorage.setItem('lastid', self.goodInfo.product_id); // sessionStorage.setItem('lastid', self.goodInfo.product_id);
if (res.code == 200) { if (res.code == 200) {
sessionStorage.setItem('lastid', self.goodInfo.product_id);
// 查询订单接口 // 查询订单接口
this.popboxtype = '成功'; this.popboxtype = '成功';
this.popboxshow = true; this.popboxshow = true;