fix: 增加 最新获取商品状态
This commit is contained in:
parent
20ba90f8a0
commit
ca89b62ce6
|
@ -164,6 +164,19 @@
|
||||||
this.goodsInfo.available = 9;
|
this.goodsInfo.available = 9;
|
||||||
localStorage.setItem('goodsInfo', JSON.stringify(this.goodsInfo));
|
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, '关闭');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,6 +163,19 @@
|
||||||
this.goodsInfo.available = 9;
|
this.goodsInfo.available = 9;
|
||||||
localStorage.setItem('goodsInfo', JSON.stringify(this.goodsInfo));
|
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, '关闭');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue