更改购物车

This commit is contained in:
wwz
2025-03-25 10:05:16 +08:00
parent 429336c736
commit 1169e300df
8 changed files with 47 additions and 29 deletions

View File

@@ -63,9 +63,15 @@
});
const orderVIP = ref(uni.cache.get('orderVIP'))
const orderVIP = ref(null)
const emits = defineEmits(['customevent', 'groupChange']);
watchEffect(() => {
orderVIP.value = uni.cache.get('orderVIP')
})
const orderVIPfun = (data) => {
orderVIP.value = data
}
const paymentMethodList = ref([{
name: "余额支付",
@@ -140,7 +146,8 @@
}
// 将方法暴露给父组件
defineExpose({
groupChanges
groupChanges,
orderVIPfun
});
</script>