浏览代码

表单高度

CzRger 2 月之前
父节点
当前提交
c76ece0ccc
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      src/views/form/business-model/index.vue

+ 11 - 0
src/views/form/business-model/index.vue

@@ -337,6 +337,17 @@ onBeforeMount(() => {
 onMounted(() => {
   initDictionary()
   onReset()
+  window.parent.postMessage(
+    {
+      type: 'setFormConfig',
+      data: JSON.parse(
+        JSON.stringify({
+          formHeight: 800,
+        }),
+      ),
+    },
+    '*',
+  )
 })
 const initDictionary = () => {}
 const onConfirmIframe = (msgData) => {