diff --git a/src/mes/common/commonModalComponent/index.js b/src/mes/common/commonModalComponent/index.js index 1948ef6..b3e62fb 100644 --- a/src/mes/common/commonModalComponent/index.js +++ b/src/mes/common/commonModalComponent/index.js @@ -6,11 +6,12 @@ import RouterComponent from "@/routes/mes/routerComponent"; import * as commonUtils from "@/utils/utils"; const CommonModalComponent = props => { + const bSmall = props?.sModelsId ==='17211911815017669983448000'; const { visible, title, - width = "calc(100vw - 110px)", - height = "calc(100vh - 60px)", + width = bSmall? "calc(75vw - 110px)" : "calc(100vw - 110px)", + height = bSmall? "calc(80vh - 60px)" : "calc(100vh - 60px)", onCancel } = props; @@ -22,7 +23,7 @@ const CommonModalComponent = props => { padding: 0, margin: 0, top: 60, - left: 110 + left: bSmall? 216: 110 }; }