Commit e7f13c7c8568d6869e9867e08b26be928403ff49

Authored by fengwotao
1 parent 805f443b

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

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