diff --git a/pc4mobx/organization/components/NewAndEditDialog.js b/pc4mobx/organization/components/NewAndEditDialog.js index 4ead83a..ef92d79 100644 --- a/pc4mobx/organization/components/NewAndEditDialog.js +++ b/pc4mobx/organization/components/NewAndEditDialog.js @@ -20,7 +20,7 @@ import { i18n } from '../public/i18n'; import AttachToNumberField from './NewNumberField'; -import "./index.less"; +import "../style/common.less"; export default class NewAndEditDialog extends React.Component { constructor(props) { diff --git a/pc4mobx/organization/components/index.less b/pc4mobx/organization/components/index.less deleted file mode 100644 index abeb9fb..0000000 --- a/pc4mobx/organization/components/index.less +++ /dev/null @@ -1,6 +0,0 @@ -//新建编辑弹框 -.new-edit-wrapper{ - .wea-select, .ant-select{ - width: 100%; - } -} diff --git a/pc4mobx/organization/style/common.less b/pc4mobx/organization/style/common.less index 4b5ad4b..33a6c32 100644 --- a/pc4mobx/organization/style/common.less +++ b/pc4mobx/organization/style/common.less @@ -80,3 +80,10 @@ .minH5{ min-height: 50px!important; } + +//dialog弹框中下拉框组件宽度的样式问题 +.new-edit-wrapper{ + .wea-select, .ant-select{ + width: 100%; + } +}