Commit 3fa442b0 by zhaochengxiang

样式调整

parent 54d84f86
...@@ -285,7 +285,7 @@ const ModelTable = (props) => { ...@@ -285,7 +285,7 @@ const ModelTable = (props) => {
const columns = useMemo(() => { const columns = useMemo(() => {
let newCols = [...cols]; let newCols = [...cols];
if ((visibleColNames||[]).length > 0) { 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') { if (view === 'branch') {
newCols = newCols.filter(col => col.name!=='标签') newCols = newCols.filter(col => col.name!=='标签')
} }
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
.model-tree-recatalog { .model-tree-recatalog {
.yy-tree-list { .yy-tree-list {
height: 500px !important; height: calc(60vh) !important;
overflow: auto !important; overflow: auto !important;
} }
} }
\ No newline at end of file
...@@ -63,7 +63,9 @@ const RecatalogModal = (props) => { ...@@ -63,7 +63,9 @@ const RecatalogModal = (props) => {
reset(); reset();
onCancel && onCancel() onCancel && onCancel()
}} }}
centered destroyOnClose
onOk={ onOk } onOk={ onOk }
bodyStyle={{ padding: '15px' }}
> >
<ModelTree <ModelTree
refrence='recatalog' refrence='recatalog'
......
...@@ -97,7 +97,7 @@ const FC = (props) => { ...@@ -97,7 +97,7 @@ const FC = (props) => {
<Modal <Modal
visible={visible} visible={visible}
footer={footer} footer={footer}
width='90%' width={800}
bodyStyle={{ padding: '15px', overflowX: 'auto', maxHeight: '80vh' }} bodyStyle={{ padding: '15px', overflowX: 'auto', maxHeight: '80vh' }}
title={title} title={title}
centered destroyOnClose centered destroyOnClose
...@@ -198,8 +198,8 @@ const Basic = React.forwardRef(function ({ type, item }, ref) { ...@@ -198,8 +198,8 @@ const Basic = React.forwardRef(function ({ type, item }, ref) {
return ( return (
<Form <Form
form={form} form={form}
labelCol={{ span: 6 }} labelCol={{ span: 4 }}
wrapperCol={{ span: 18 }} wrapperCol={{ span: 20 }}
autoComplete="off" autoComplete="off"
onValuesChange={onValuesChange} 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