diff --git a/src/views/shoppingCart/sc-item.vue b/src/views/shoppingCart/sc-item.vue index 5fb5854..fa13bb3 100644 --- a/src/views/shoppingCart/sc-item.vue +++ b/src/views/shoppingCart/sc-item.vue @@ -33,7 +33,7 @@
${{ info.amount }} HKD
{ status: number @@ -74,6 +75,10 @@ const onRemove = () => { emit('remove', props.info) } + + const showDownload = computed(() => { + return props.isOrder ? props.info.status === 1 : props.orderActionsLayout + })