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