From efc2fdad9b03ec5f4738bd052235e452c35ba57d Mon Sep 17 00:00:00 2001 From: chaiying Date: Tue, 30 Apr 2024 15:29:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=83=20docs:=E3=80=90=E6=89=B9=E9=87=8F?= =?UTF-8?q?/=E5=8D=95=E4=B8=AA=E7=AE=97=E6=B3=95=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E3=80=91TimeTemplateTable=E6=A8=A1=E5=9D=97=E6=9A=82=E6=97=B6?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8E=89=E7=AE=97=E5=8A=9B=E5=8D=A0=E7=94=A8?= =?UTF-8?q?=E5=92=8C=E9=85=8D=E7=BD=AE=E8=B7=AF=E7=94=B1=E6=A0=8F=E7=9B=AE?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../timeTemplateTable/TimeTemplateTable.tsx | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/packages/material/src/algorithmConfig/components/timeTemplateTable/TimeTemplateTable.tsx b/packages/material/src/algorithmConfig/components/timeTemplateTable/TimeTemplateTable.tsx index 3272ded..01ffa52 100644 --- a/packages/material/src/algorithmConfig/components/timeTemplateTable/TimeTemplateTable.tsx +++ b/packages/material/src/algorithmConfig/components/timeTemplateTable/TimeTemplateTable.tsx @@ -1,9 +1,10 @@ + import React from 'react'; import type { ParamsType, ProColumns, ProTableProps } from '@ant-design/pro-components'; import { ProTable, } from '@ant-design/pro-components'; -import { InputNumber } from 'antd'; +// import { InputNumber } from 'antd'; import { AnyObject } from 'antd/es/_util/type'; export interface TimeTemplateTableProps extends ProTableProps { @@ -31,16 +32,17 @@ const TimeTemplateTable = ( title: '布控星期', dataIndex: 'arrangeDay', }, - { - title: '算力占用', - dataIndex: 'powerOccupy', - }, - { - title: '配置路数', - key: 'option', - valueType: 'option', - render: (_, record) => onItemBlur?.(e.target.value, record.id, record)} min={0} />, - }, + // TODO: 暂时先注释后续在做这个功能 + // { + // title: '算力占用', + // dataIndex: 'powerOccupy', + // }, + // { + // title: '配置路数', + // key: 'option', + // valueType: 'option', + // render: (_, record) => onItemBlur?.(e.target.value, record.id, record)} min={0} />, + // }, ]; return (