Przeglądaj źródła

固定辨识仪配置弹窗大小,防止 LogicFlow 渲染画布的时候无法获取画布宽高

cc12458 6 miesięcy temu
rodzic
commit
5a4855ac0f

+ 1 - 1
src/components/EditMoreConfigured.vue

@@ -138,7 +138,7 @@ const reset = () => {
   flex: 1;
 }
 .right {
-  width: 40%;
+  width: 30%;
   min-width: 420px;
 }
 .table-title {

+ 4 - 2
src/pages/index/equipment/configured.vue

@@ -280,8 +280,8 @@ function editConfigured(model?: DeviceManageModel) {
   VxeUI.modal.open({
     // title: model?.id ? `修改配置` : `新增配置`,
     title: `修改配置`,
-    // height: 850,
-    // width: 900,
+    height: window.innerHeight,
+    width: window.innerWidth,
     fullscreen: true,
     escClosable: true,
     destroyOnClose: true,
@@ -311,6 +311,8 @@ function importOrganization() {
   }
   VxeUI.modal.open({
     title: '批量修改',
+    height: window.innerHeight,
+    width: window.innerWidth,
     fullscreen: true,
     escClosable: true,
     destroyOnClose: true,