From 54d3723cab7ddc753602ac0f0d7815caab001bfa Mon Sep 17 00:00:00 2001 From: "HUOJIN\\92525" Date: Tue, 27 Jan 2026 10:44:10 +0800 Subject: [PATCH] no message --- src/views/inventory/Inventory.data.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/inventory/Inventory.data.ts b/src/views/inventory/Inventory.data.ts index 86b1b16..d5dbbc1 100644 --- a/src/views/inventory/Inventory.data.ts +++ b/src/views/inventory/Inventory.data.ts @@ -1,5 +1,6 @@ import { BasicColumn } from '/@/components/Table'; import { render } from '@/utils/common/renderUtils'; +import { h } from 'vue'; //列表数据 export const columns: BasicColumn[] = [ { @@ -61,7 +62,10 @@ export const columns: BasicColumn[] = [ title: '项目号', align: 'center', dataIndex: 'project', - width: 100, + width: 150, + customRender: ({ text }) => { + return h('div', { style: { wordBreak: 'break-all', lineHeight: '1.5' } }, text); + }, }, { title: '任务号',