修复订单结算私域引流弹窗问题,修复后付费模式下确认订单显示问题
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<view>
|
||||
<!-- 私域引流 -->
|
||||
<up-popup
|
||||
:show="showPreview"
|
||||
:show="show"
|
||||
mode="center"
|
||||
round="16rpx"
|
||||
closeOnClickOverlay
|
||||
@@ -53,10 +53,12 @@ const showPreview = defineModel({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
});
|
||||
|
||||
const show=ref(false);
|
||||
const emit = defineEmits(["close"]);
|
||||
|
||||
function close() {
|
||||
showPreview.value = false;
|
||||
show.value = false;
|
||||
emit("close");
|
||||
}
|
||||
const drainageConfig = ref({});
|
||||
@@ -67,7 +69,7 @@ async function getDrainageConfig() {
|
||||
});
|
||||
drainageConfig.value = drainageConfigRes;
|
||||
if (drainageConfig.value.isEnable) {
|
||||
showPreview.value = true;
|
||||
show.value = true;
|
||||
} else {
|
||||
close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user