|
@@ -8,7 +8,7 @@
|
|
|
<div class="p-4 flex flex-col h-full">
|
|
|
<!-- Header -->
|
|
|
<div class="flex justify-between items-center mb-4">
|
|
|
- <div class="text-gray-400 cursor-pointer" @click="onClose">取消</div>
|
|
|
+ <div class="text-gray-400 cursor-pointer" @click="handleClose">取消</div>
|
|
|
<div class="text-lg font-medium">购买记录</div>
|
|
|
<div class="w-8"></div>
|
|
|
</div>
|
|
@@ -74,7 +74,7 @@ const records = ref([]);
|
|
|
|
|
|
// 处理关闭
|
|
|
const handleClose = () => {
|
|
|
- emit('update:show', false);
|
|
|
+ dialogVisible.value = false
|
|
|
props.onClose?.();
|
|
|
};
|
|
|
|