feat: 没有延迟商品不展示立即发货

This commit is contained in:
2026-08-07 14:22:54 +08:00
parent dde77fb6d7
commit c635215e24
+2 -1
View File
@@ -100,8 +100,9 @@
const showNow = computed(() => { const showNow = computed(() => {
if (![10, 15, 50].includes(Number(props.status))) return false; if (![10, 15, 50].includes(Number(props.status))) return false;
// 只有存在延迟中(status===1)的商品时才展示立即发货按钮
if (!Boolean(props.hasDelayedItems)) return false;
if (Number(props.status) === 50) return true; if (Number(props.status) === 50) return true;
if (Boolean(props.hasDelayedItems)) return true;
return Boolean(props.canShipItems); return Boolean(props.canShipItems);
}); });