From 538f0972c19b96af2ee361c6af4fc86c41127171 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 13 八月 2025 14:43:09 +0800 Subject: [PATCH] feat: 接口对接 --- 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