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