表格前三项居中显示
This commit is contained in:
parent
c69984929a
commit
395945271f
|
|
@ -183,6 +183,7 @@ const DeviceTable = forwardRef(
|
||||||
title: "网系类型",
|
title: "网系类型",
|
||||||
dataIndex: "networkType",
|
dataIndex: "networkType",
|
||||||
key: "networkType",
|
key: "networkType",
|
||||||
|
align: "center",
|
||||||
render: (text, record) => {
|
render: (text, record) => {
|
||||||
const networkType = (record as any).terms?.find((t: any) => t.taxonomy?.slug === 'network_type');
|
const networkType = (record as any).terms?.find((t: any) => t.taxonomy?.slug === 'network_type');
|
||||||
return (
|
return (
|
||||||
|
|
@ -196,6 +197,7 @@ const DeviceTable = forwardRef(
|
||||||
title: "系统类型",
|
title: "系统类型",
|
||||||
dataIndex: "systemType",
|
dataIndex: "systemType",
|
||||||
key: "systemType",
|
key: "systemType",
|
||||||
|
align: "center",
|
||||||
render: (text, record) => {
|
render: (text, record) => {
|
||||||
const systemType = (record as any).terms?.find((t: any) => t.taxonomy?.slug === 'system_type');
|
const systemType = (record as any).terms?.find((t: any) => t.taxonomy?.slug === 'system_type');
|
||||||
return (
|
return (
|
||||||
|
|
@ -209,6 +211,7 @@ const DeviceTable = forwardRef(
|
||||||
title: "故障类型",
|
title: "故障类型",
|
||||||
dataIndex: "deviceType",
|
dataIndex: "deviceType",
|
||||||
key: "deviceType",
|
key: "deviceType",
|
||||||
|
align: "center",
|
||||||
render: (text, record) => {
|
render: (text, record) => {
|
||||||
const deviceType = (record as any).terms?.find((t: any) => t.taxonomy?.slug === 'device_type');
|
const deviceType = (record as any).terms?.find((t: any) => t.taxonomy?.slug === 'device_type');
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue