🦀️ fix: 修复bug
This commit is contained in:
parent
2486e4be99
commit
70446f9de4
10
order.html
10
order.html
|
@ -209,6 +209,7 @@
|
||||||
}
|
}
|
||||||
if (item.channel == 1) {
|
if (item.channel == 1) {
|
||||||
if (item.goods.entity.receive_mode === 2) {
|
if (item.goods.entity.receive_mode === 2) {
|
||||||
|
item.goods.available = 1;
|
||||||
/* H5 领取 */
|
/* H5 领取 */
|
||||||
sessionStorage.setItem(
|
sessionStorage.setItem(
|
||||||
"goodsInfo",
|
"goodsInfo",
|
||||||
|
@ -259,6 +260,15 @@
|
||||||
location.replace(data.redirect_url);
|
location.replace(data.redirect_url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (item.channel == 3) {
|
||||||
|
item.goods.available = 1;
|
||||||
|
/* H5 领取 */
|
||||||
|
sessionStorage.setItem(
|
||||||
|
"goodsInfo",
|
||||||
|
JSON.stringify(item.goods)
|
||||||
|
);
|
||||||
|
location.href = "./ysf-reduce.html";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 红包领取 */
|
/* 红包领取 */
|
||||||
|
|
Loading…
Reference in New Issue