Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
HSunboy committed Oct 12, 2023
1 parent 41b52d8 commit fad5b97
Showing 1 changed file with 45 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,41 +126,52 @@ const JDBCParams: React.FC<IProps> = function ({ value, onChange }) {
[onChange, rows],
);
return (
<Space
style={{ width: '100%', border: '1px solid var(--odc-border-color)' }}
direction="vertical"
>
<Toolbar compact>
<Toolbar.Button
icon={<PlusOutlined />}
text={formatMessage({
id: 'odc.component.ProcedureParam.AddParameters',
})}
/* 添加参数 */ onClick={addParam}
<>
<span>
属性配置{' '}
<a
href="https://www.oceanbase.com/docs/common-oceanbase-connector-j-cn-1000000000130260"
target="_blank"
>
说明文档
</a>
</span>
<Space
style={{ width: '100%', marginTop: 5, border: '1px solid var(--odc-border-color)' }}
direction="vertical"
>
<Toolbar compact>
<Toolbar.Button
icon={<PlusOutlined />}
text={formatMessage({
id: 'odc.component.ProcedureParam.AddParameters',
})}
/* 添加参数 */ onClick={addParam}
/>
<Toolbar.Button
icon={<DeleteOutlined />}
text={formatMessage({
id: 'odc.component.ProcedureParam.DeleteParameters',
})} /* 删除参数 */
onClick={deleteParam}
/>
</Toolbar>
<EditableTable
gridRef={gridRef}
readonly={false}
onRowsChange={onRowsChange}
rowKey="key"
bordered
enableRowRecord={true}
enableColumnRecord={false}
enableFilterRow={false}
enableSortRow={false}
minHeight="370px"
columns={columns}
rows={rows}
/>
<Toolbar.Button
icon={<DeleteOutlined />}
text={formatMessage({
id: 'odc.component.ProcedureParam.DeleteParameters',
})} /* 删除参数 */
onClick={deleteParam}
/>
</Toolbar>
<EditableTable
gridRef={gridRef}
readonly={false}
onRowsChange={onRowsChange}
rowKey="key"
bordered
enableRowRecord={true}
enableColumnRecord={false}
enableFilterRow={false}
enableSortRow={false}
minHeight="370px"
columns={columns}
rows={rows}
/>
</Space>
</Space>
</>
);
};

Expand Down

0 comments on commit fad5b97

Please sign in to comment.