Commit baa027ba authored by XieZhiXiong's avatar XieZhiXiong

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

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