feat(sj_1.0.0): 修复工作流批次列表显示错误问题

This commit is contained in:
opensnail 2024-05-04 19:46:47 +08:00
parent 43fa5ae3bf
commit 66492cf9fd

View File

@ -11,7 +11,8 @@ const router = useRouter();
const route = useRoute();
//
const workflowId = Number.parseInt(route.query?.workflowId as string, 10);
const workflowId =
route.query?.workflowId === undefined ? null : Number.parseInt(route.query?.workflowId as string, 10);
const appStore = useAppStore();