Commit baa027ba authored by XieZhiXiong's avatar XieZhiXiong

feat: 全局样式修改为局部样式

parent 247d81c6
...@@ -235,12 +235,6 @@ ...@@ -235,12 +235,6 @@
overflow: hidden; overflow: hidden;
} }
.mega-layout-container-content >
.mega-layout-item >
.ant-form-item-control {
overflow: hidden;
}
.ant-form-item-label > label { .ant-form-item-label > label {
font-size: 12px !important; font-size: 12px !important;
color: #909399 !important; color: #909399 !important;
......
.modalWrap {
:global {
.mega-layout-container-content >
.mega-layout-item >
.ant-form-item-control {
overflow: hidden;
}
}
}
\ No newline at end of file
...@@ -15,6 +15,7 @@ import { useAsyncSelect } from '@/formSchema/effects/useAsyncSelect'; ...@@ -15,6 +15,7 @@ import { useAsyncSelect } from '@/formSchema/effects/useAsyncSelect';
import { PublicApi } from '@/services/api'; import { PublicApi } from '@/services/api';
import { useLinkageUtils } from '@/utils/formEffectUtils'; import { useLinkageUtils } from '@/utils/formEffectUtils';
import { schema } from './schema'; import { schema } from './schema';
import styles from './index.less';
const modalFormActions = createFormActions(); const modalFormActions = createFormActions();
const { const {
...@@ -124,6 +125,7 @@ const VerifyModal: React.FC<VerifyModalProps> = ({ ...@@ -124,6 +125,7 @@ const VerifyModal: React.FC<VerifyModalProps> = ({
confirmLoading={confirmLoading} confirmLoading={confirmLoading}
onOk={() => modalFormActions.submit()} onOk={() => modalFormActions.submit()}
onCancel={() => onVisible(false)} onCancel={() => onVisible(false)}
wrapClassName={styles.modalWrap}
destroyOnClose destroyOnClose
> >
<NiceForm <NiceForm
......
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