From d3649ea784d0d0c8e676a4501ab856fedcc2e10c Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 11 Jun 2025 20:35:35 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=8A=93=E5=8C=85=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/traceManage/pcap/file.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/traceManage/pcap/file.vue b/src/views/traceManage/pcap/file.vue index 7e18d06a..3d7b8d7c 100644 --- a/src/views/traceManage/pcap/file.vue +++ b/src/views/traceManage/pcap/file.vue @@ -5,6 +5,7 @@ import { SizeType } from 'ant-design-vue/es/config-provider'; import { ColumnsType } from 'ant-design-vue/es/table'; import { Modal, message } from 'ant-design-vue/es'; import { parseDateToStr } from '@/utils/date-utils'; +import { parseSizeFromFile } from '@/utils/parse-utils'; import { getNeDirZip, getNeFile, listNeFiles } from '@/api/tool/neFile'; import { RESULT_CODE_SUCCESS } from '@/constants/result-constants'; import ViewDrawer from '@/views/ne/neFile/components/ViewDrawer.vue'; @@ -69,6 +70,9 @@ let tableColumns: ColumnsType = reactive([ title: t('views.logManage.neFile.size'), dataIndex: 'size', align: 'left', + customRender(opt) { + return parseSizeFromFile(opt.value); + }, width: 100, }, {