feat: 流程详情页打开后,关闭跳回对应的列表页
This commit is contained in:
@ -41,6 +41,8 @@ const { currentRoute } = router;
|
||||
|
||||
const { formPath } = currentRoute.value.query;
|
||||
const pathArr = formPath.split('/');
|
||||
const parentRoutePath = localStorage.getItem('parentRoutePath');
|
||||
localStorage.removeItem('parentRoutePath');
|
||||
|
||||
const tabStore = useMultipleTabStore();
|
||||
const formProps = ref(null);
|
||||
@ -80,7 +82,7 @@ async function setFormType() {
|
||||
}
|
||||
|
||||
function close() {
|
||||
tabStore.closeTab(currentRoute.value, router);
|
||||
tabStore.closeTab(currentRoute.value, router, parentRoutePath);
|
||||
}
|
||||
|
||||
async function handleSubmit() {
|
||||
|
||||
Reference in New Issue
Block a user