packages/components/src/Card/TaskCard.vue
@@ -21,7 +21,7 @@ </div> <div class="task-card-actions" v-if="showActions"> <slot name="actions"> <nut-button type="primary">报名</nut-button> <nut-button type="primary" @click.stop="handleSign">报名</nut-button> </slot> </div> </div> @@ -43,6 +43,8 @@ const props = withDefaults(defineProps<Props>(), { showActions: true, }); function handleSign() {} </script> <style lang="scss">