fix: clean tree status after flush database
This commit is contained in:
parent
f597002378
commit
b7433fadaa
|
@ -285,7 +285,7 @@ onMounted(() => onReload())
|
|||
<!-- loaded progress -->
|
||||
<n-progress
|
||||
:border-radius="0"
|
||||
:color="fullyLoaded ? '#0000' : themeVars.primaryColor"
|
||||
:color="loadProgress >= 100 ? '#0000' : themeVars.primaryColor"
|
||||
:height="2"
|
||||
:percentage="loadProgress"
|
||||
:processing="loading"
|
||||
|
|
|
@ -1724,6 +1724,8 @@ const useBrowserStore = defineStore('browser', {
|
|||
// set tab content empty
|
||||
const tab = useTabStore()
|
||||
tab.emptyTab(server)
|
||||
tab.setSelectedKeys(server)
|
||||
tab.setCheckedKeys(server)
|
||||
return true
|
||||
}
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue