Skip to content

Commit

Permalink
fix(frontend): not redirect after update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengqc-nju committed Dec 8, 2023
1 parent 9757172 commit d584898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/packages/main/src/views/Submit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ function submit(): Promise<void> {
router.push({
path: "/learnwaredetail",
query: {
id: res.data.learnware_id,
id: route.query.edit && route.query.id ? route.query.id : res.data.learnware_id,
},
});
}, 1000);
Expand Down

0 comments on commit d584898

Please sign in to comment.