no message
parent
a7cfe0027f
commit
54d3723cab
|
|
@ -1,5 +1,6 @@
|
||||||
import { BasicColumn } from '/@/components/Table';
|
import { BasicColumn } from '/@/components/Table';
|
||||||
import { render } from '@/utils/common/renderUtils';
|
import { render } from '@/utils/common/renderUtils';
|
||||||
|
import { h } from 'vue';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
|
|
@ -61,7 +62,10 @@ export const columns: BasicColumn[] = [
|
||||||
title: '项目号',
|
title: '项目号',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'project',
|
dataIndex: 'project',
|
||||||
width: 100,
|
width: 150,
|
||||||
|
customRender: ({ text }) => {
|
||||||
|
return h('div', { style: { wordBreak: 'break-all', lineHeight: '1.5' } }, text);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '任务号',
|
title: '任务号',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue