From 17a3897c219b4d1348c01101ab7d25005384aedd Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 12 八月 2025 14:40:18 +0800 Subject: [PATCH] fix: 修改bug --- packages/components/src/Card/TaskPrice.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/components/src/Card/TaskPrice.vue b/packages/components/src/Card/TaskPrice.vue index c2297c9..3e8d8a2 100644 --- a/packages/components/src/Card/TaskPrice.vue +++ b/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>(), {}); -- Gitblit v1.9.1