Unverified Commit 4064fc70 authored by Licho's avatar Licho Committed by GitHub

Fix tablez index (#2608)

* fix: change the max zIndex value to 999 * Spotless Apply --------- Co-authored-by: 's avatarleechor <leechor@users.noreply.github.com>
parent e14afc22
...@@ -115,6 +115,7 @@ const JobModal: React.FC<JobModalProps> = (props) => { ...@@ -115,6 +115,7 @@ const JobModal: React.FC<JobModalProps> = (props) => {
disabled={!!values.id} disabled={!!values.id}
placeholder={l('catalog.type.placeholder')} placeholder={l('catalog.type.placeholder')}
rules={[{ required: true, message: l('catalog.type.placeholder') }]} rules={[{ required: true, message: l('catalog.type.placeholder') }]}
allowClear={false}
/> />
)} )}
<ProFormText <ProFormText
...@@ -166,7 +167,6 @@ const JobModal: React.FC<JobModalProps> = (props) => { ...@@ -166,7 +167,6 @@ const JobModal: React.FC<JobModalProps> = (props) => {
}; };
return ( return (
<>
<ModalForm<Catalogue> <ModalForm<Catalogue>
title={title} title={title}
form={form} form={form}
...@@ -185,7 +185,6 @@ const JobModal: React.FC<JobModalProps> = (props) => { ...@@ -185,7 +185,6 @@ const JobModal: React.FC<JobModalProps> = (props) => {
> >
{renderForm()} {renderForm()}
</ModalForm> </ModalForm>
</>
); );
}; };
......
...@@ -181,7 +181,7 @@ const MiddleContainer = (props: any) => { ...@@ -181,7 +181,7 @@ const MiddleContainer = (props: any) => {
position: 'fixed', position: 'fixed',
cursor: 'context-menu', cursor: 'context-menu',
width: '10vw', width: '10vw',
zIndex: 9999, zIndex: 999,
left: info.clientX + 10, // + 10 是为了让鼠标不至于在选中的节点上 && 不遮住当前鼠标位置 left: info.clientX + 10, // + 10 是为了让鼠标不至于在选中的节点上 && 不遮住当前鼠标位置
top: info.clientY + 10 // + 10 是为了让鼠标不至于在选中的节点上 && 不遮住当前鼠标位置 top: info.clientY + 10 // + 10 是为了让鼠标不至于在选中的节点上 && 不遮住当前鼠标位置
}); });
......
...@@ -45,7 +45,7 @@ const LangSwitch = () => { ...@@ -45,7 +45,7 @@ const LangSwitch = () => {
top: 10, top: 10,
right: 10, right: 10,
borderRadius: token.borderRadius, borderRadius: token.borderRadius,
zIndex: 9999, zIndex: 999,
':hover': { ':hover': {
backgroundColor: token.colorBgTextHover backgroundColor: token.colorBgTextHover
} }
......
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