From b1d8b61db2fdce34e9f7b5386489be37852eadeb Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期二, 13 十月 2026 08:57:52 +0800
Subject: [PATCH] feat: 添加利润率格式化功能,按百分比展示后端返回的小数
---
src/views/system/post/index.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 0e80652..50b9804 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -90,7 +90,7 @@
</el-table-column>
<el-table-column label="鍒涘缓鏃堕棿" align="center" prop="createTime" width="180">
<template #default="scope">
- <span>{{ parseTime(scope.row.createTime) }}</span>
+ <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="鎿嶄綔" width="180" align="center" class-name="small-padding fixed-width">
--
Gitblit v1.9.3