Skip to content

Commit b98c0c5

Browse files
committed
fix: Application setting go back
1 parent d80c1fc commit b98c0c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/src/components/folder-tree/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
clearable
99
/>
1010
<el-dropdown trigger="click" :teleported="false" @command="switchSortMethod">
11-
<el-button class="ml-8" style="width: 32px;">
11+
<el-button class="ml-8" style="width: 32px">
1212
<AppIcon :iconName="sortIconName"></AppIcon>
1313
</el-button>
1414
<template #dropdown>
@@ -581,6 +581,7 @@ function rebalanceAndInsert(
581581
582582
onBeforeRouteLeave((to, from) => {
583583
if (from?.name === 'ToolWorkflow') return
584+
if (from?.name === 'AppSetting') return
584585
folder.setCurrentFolder({})
585586
})
586587

0 commit comments

Comments
 (0)