wupengfei
4 天以前 538f0972c19b96af2ee361c6af4fc86c41127171
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>(), {});