代码生成器修改,流程新建,表单新建,流程审批等页面修改

This commit is contained in:
GAOANG
2024-03-29 16:41:21 +08:00
parent d55f879846
commit 788cfac511
6 changed files with 754 additions and 704 deletions

View File

@ -114,6 +114,15 @@
});
const router = useRouter();
const { currentRoute } = router;
onMounted(() => {
bus.on(FLOW_PROCESSED, onFlowProcessed);
});
onUnmounted(() => {
bus.off(FLOW_PROCESSED, onFlowProcessed);
});
watch(
() => unref(currentRoute),
(val) => {
@ -134,14 +143,6 @@
function onFlowProcessed() {
reload();
}
onMounted(() => {
bus.on(FLOW_PROCESSED, onFlowProcessed);
});
onUnmounted(() => {
bus.off(FLOW_PROCESSED, onFlowProcessed);
});
</script>
<style scoped></style>