소스 검색

表单高度

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) => {