Commit 3fa442b0 by zhaochengxiang

样式调整

parent 54d84f86
......@@ -285,7 +285,7 @@ const ModelTable = (props) => {
const columns = useMemo(() => {
let newCols = [...cols];
if ((visibleColNames||[]).length > 0) {
newCols = newCols.filter(col => visibleColNames.indexOf(col.name)!==-1 || col.name==='序号');
newCols = newCols.filter(col => visibleColNames.indexOf(col.name)!==-1 || col.name==='序号' || col.name==='标签');
if (view === 'branch') {
newCols = newCols.filter(col => col.name!=='标签')
}
......
......@@ -8,7 +8,7 @@
.model-tree-recatalog {
.yy-tree-list {
height: 500px !important;
height: calc(60vh) !important;
overflow: auto !important;
}
}
\ No newline at end of file
......@@ -63,7 +63,9 @@ const RecatalogModal = (props) => {
reset();
onCancel && onCancel()
}}
centered destroyOnClose
onOk={ onOk }
bodyStyle={{ padding: '15px' }}
>
<ModelTree
refrence='recatalog'
......
......@@ -97,7 +97,7 @@ const FC = (props) => {
<Modal
visible={visible}
footer={footer}
width='90%'
width={800}
bodyStyle={{ padding: '15px', overflowX: 'auto', maxHeight: '80vh' }}
title={title}
centered destroyOnClose
......@@ -198,8 +198,8 @@ const Basic = React.forwardRef(function ({ type, item }, ref) {
return (
<Form
form={form}
labelCol={{ span: 6 }}
wrapperCol={{ span: 18 }}
labelCol={{ span: 4 }}
wrapperCol={{ span: 20 }}
autoComplete="off"
onValuesChange={onValuesChange}
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment