packages/components/src/Card/TaskPrice.vue
@@ -1,7 +1,7 @@ <template> <div class="task-price"> <div class="task-price-decimal">{{ value }}</div> <div class="task-price-unit">元/小时</div> <div class="task-price-unit">{{ unit }}</div> </div> </template> @@ -11,7 +11,8 @@ }); type Props = { value?: number; value?: number | string; unit?: string; }; const props = withDefaults(defineProps<Props>(), {});