fix :修复包码
This commit is contained in:
parent
bdccdfd674
commit
6c03b1ed5e
|
@ -84,8 +84,6 @@
|
||||||
/* 获取详情 */
|
/* 获取详情 */
|
||||||
function getInfo() {
|
function getInfo() {
|
||||||
const orderNumber = sessionStorage.getItem('orderNumber');
|
const orderNumber = sessionStorage.getItem('orderNumber');
|
||||||
console.log("orderNumber =>", orderNumber)
|
|
||||||
return
|
|
||||||
req.axiosGet(`/key/order/detail/${orderNumber}`).then(res => {
|
req.axiosGet(`/key/order/detail/${orderNumber}`).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
const { product_name, update_time, status, show_url, account, create_time, use_coupon } = res.data;
|
const { product_name, update_time, status, show_url, account, create_time, use_coupon } = res.data;
|
||||||
|
|
|
@ -252,9 +252,9 @@
|
||||||
*/
|
*/
|
||||||
const clr = setTimeout(() => {
|
const clr = setTimeout(() => {
|
||||||
if (state.goodsInfo.product_type === 2) {
|
if (state.goodsInfo.product_type === 2) {
|
||||||
window.location.href = './orderDetails/cardOrder.html';
|
window.location.href = '../orderDetails/cardOrder.html';
|
||||||
} else {
|
} else {
|
||||||
window.location.href = './orderDetails/chargerOrder.html';
|
window.location.href = '../orderDetails/chargerOrder.html';
|
||||||
}
|
}
|
||||||
clearTimeout(clr);
|
clearTimeout(clr);
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
Loading…
Reference in New Issue