|
|
@ -5,6 +5,7 @@ |
|
|
|
:canFullscreen="false" |
|
|
|
:canFullscreen="false" |
|
|
|
:showCancelBtn="false" |
|
|
|
:showCancelBtn="false" |
|
|
|
:showOkBtn="false" |
|
|
|
:showOkBtn="false" |
|
|
|
|
|
|
|
:wrapperProps="{ modalFooterHeight: 0 }" |
|
|
|
@register="registerModal" |
|
|
|
@register="registerModal" |
|
|
|
@visible-change="handleVisibleChange" |
|
|
|
@visible-change="handleVisibleChange" |
|
|
|
> |
|
|
|
> |
|
|
@ -33,7 +34,7 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const workflowDesignProps = { |
|
|
|
const workflowDesignProps = { |
|
|
|
style: { height: 'calc(100vh - 160px)' }, |
|
|
|
style: { height: '100vh' }, |
|
|
|
workflowSubmitSuccess: () => emit('success') |
|
|
|
workflowSubmitSuccess: () => emit('success') |
|
|
|
}; |
|
|
|
}; |
|
|
|
const emit = defineEmits(['success', 'register']); |
|
|
|
const emit = defineEmits(['success', 'register']); |
|
|
@ -79,3 +80,12 @@ |
|
|
|
!visible && state.workflowDesignApp.unmount(); |
|
|
|
!visible && state.workflowDesignApp.unmount(); |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="less"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.ant-modal { |
|
|
|
|
|
|
|
.ant-modal-body > .scrollbar { |
|
|
|
|
|
|
|
padding: 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|