@@ -342,7 +342,7 @@ onMounted(() => {
type: 'setFormConfig',
data: JSON.parse(
JSON.stringify({
- formHeight: 800,
+ iframeHeight: 800,
}),
),
},
@@ -461,6 +461,7 @@ const onIframeInit = () => {
onMounted(() => {
window.addEventListener('message', (e) => {
const data = e.data
+ console.log(data)
if (data.type === 'onCloseIframe') {
console.log('二级表单发送关闭消息,onCloseIframe')
state.detail.show = false