From 6244c26cd11f6446b39c0ad50c8223b379e5258a Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 07 十一月 2025 19:05:47 +0800
Subject: [PATCH] fix: bug
---
apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue b/apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue
index 5cc0c46..a66b883 100644
--- a/apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue
+++ b/apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue
@@ -12,8 +12,7 @@
<template v-if="OrderUtils.isContainCheckIn(checkReceiveMethods)">
<nut-button
v-if="
- !userCheckHistoryType ||
- userCheckHistoryType === EnumTaskUserSubmitCheckHistoryType.CheckIn
+ !checkHistoryType || checkHistoryType === EnumTaskUserSubmitCheckHistoryType.CheckIn
"
type="primary"
class="task-check-card-phone-btn"
@@ -24,11 +23,15 @@
v-else
type="primary"
class="task-check-card-phone-btn"
- @click.stop="handleMore"
+ @click.stop="emit('checkReceive')"
>楠屾敹</nut-button
>
</template>
- <nut-button v-else type="primary" class="task-check-card-phone-btn" @click.stop="handleMore"
+ <nut-button
+ v-else
+ type="primary"
+ class="task-check-card-phone-btn"
+ @click.stop="emit('checkReceive')"
>楠屾敹</nut-button
>
</template>
@@ -78,7 +81,7 @@
submitCheckReceiveStatus?: EnumTaskUserSubmitCheckReceiveStatus;
- userCheckHistoryType?: EnumTaskUserSubmitCheckHistoryType;
+ checkHistoryType?: EnumTaskUserSubmitCheckHistoryType;
};
const props = withDefaults(defineProps<Props>(), {});
--
Gitblit v1.9.1