wupengfei
2025-12-03 fa5ee26bb701b816efc811c193ee55504a6efd51
packages/components/src/Card/TaskCard.vue
@@ -1,5 +1,5 @@
<template>
  <div class="task-card-wrapper" :class="{ 'un-read': !isRead }">
  <div class="task-card-wrapper" :class="{ 'un-read': unRead }">
    <div class="task-card-title-wrapper">
      <div class="task-card-title">{{ name }}</div>
      <slot name="title-right">
@@ -123,13 +123,13 @@
  createdTime?: string;
  hireStatus?: EnumTaskUserHireStatus;
  isRead?: boolean;
  unRead?: boolean;
};
const props = withDefaults(defineProps<Props>(), {
  showActions: true,
  isRead: true,
  unRead: false,
});
const emit = defineEmits<{