Commit e7f13c7c8568d6869e9867e08b26be928403ff49

Authored by fengwotao
1 parent 805f443b

DEFECT-1308 修复事件管理中,点开了详情,点击确认没任何反应,应该确认后返回界面问题

@@ -44,7 +44,7 @@ @@ -44,7 +44,7 @@
44 }, 44 },
45 }); 45 });
46 46
47 - const [registerModal, { openModal }] = useModal(); 47 + const [registerModal, { openModal, closeModal }] = useModal();
48 48
49 const handleViewDetail = (record: Record<'eventValue', Recordable>) => { 49 const handleViewDetail = (record: Record<'eventValue', Recordable>) => {
50 outputData.value = JSON.stringify(record.eventValue, null, 2); 50 outputData.value = JSON.stringify(record.eventValue, null, 2);
@@ -61,7 +61,7 @@ @@ -61,7 +61,7 @@
61 </span> 61 </span>
62 </template> 62 </template>
63 </BasicTable> 63 </BasicTable>
64 - <BasicModal title="输出参数" @register="registerModal"> 64 + <BasicModal title="输出参数" @register="registerModal" @ok="closeModal">
65 <Input.TextArea v-model:value="outputData" :autosize="true" /> 65 <Input.TextArea v-model:value="outputData" :autosize="true" />
66 </BasicModal> 66 </BasicModal>
67 </template> 67 </template>