Commit 5a848a80 authored by chenshouchao's avatar chenshouchao

fix: 提交任务成功后跳转工作台任务列表页

parent c85ccbe7
...@@ -40,7 +40,7 @@ const ProjectSubmitWork = () => { ...@@ -40,7 +40,7 @@ const ProjectSubmitWork = () => {
// 前往工作台 // 前往工作台
const goToWorkbench = (toWorkbenchList = false) => { const goToWorkbench = (toWorkbenchList = false) => {
navigate("/product/cadd/projectWorkbench", { navigate("/product/cadd/projectWorkbench", {
state: { from: toWorkbenchList ? "submitWork" : "" }, state: { type: toWorkbenchList ? "workbenchList" : "" },
}); });
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment