🦀️ fix: 修复bug
This commit is contained in:
parent
466cf5326c
commit
bb867c41d0
|
@ -347,12 +347,12 @@
|
||||||
const clr = setTimeout(() => {
|
const clr = setTimeout(() => {
|
||||||
if (this.goodInfo.product_type === 2) {
|
if (this.goodInfo.product_type === 2) {
|
||||||
if (!this.backAble && this.goodsDetail.restrict == 1) {
|
if (!this.backAble && this.goodsDetail.restrict == 1) {
|
||||||
window.location.replace('/orderDetails/cardOrder.html');
|
window.location.replace('./orderDetails/cardOrder.html');
|
||||||
} else {
|
} else {
|
||||||
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);
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<img class="back" @click="backHandler" v-if="!backShow"
|
<img class="back" @click="backHandler"
|
||||||
src=" https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/backprepageBtn.png" alt="" />
|
src=" https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/backprepageBtn.png" alt="" />
|
||||||
|
|
||||||
<img :src="dynamicBanner" alt="" class="banner">
|
<img :src="dynamicBanner" alt="" class="banner">
|
||||||
|
@ -72,7 +72,6 @@
|
||||||
const toast = ref(false);
|
const toast = ref(false);
|
||||||
const clr = ref(null);
|
const clr = ref(null);
|
||||||
const goodsCount = ref(0);
|
const goodsCount = ref(0);
|
||||||
const backShow = ref(sessionStorage.getItem('backShow'));
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
goodsCount.value = Number(sessionStorage.getItem('goodsCount')) || 0;
|
goodsCount.value = Number(sessionStorage.getItem('goodsCount')) || 0;
|
||||||
|
|
Loading…
Reference in New Issue