mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 08:06:43 +08:00
fix
This commit is contained in:
@@ -104,6 +104,7 @@ async function storageChanged(storage: string) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
activeStorage.value = storage
|
activeStorage.value = storage
|
||||||
|
emit('pathchanged', { path: '/', fileid: 'root' })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 路径变化
|
// 路径变化
|
||||||
|
|||||||
@@ -62,10 +62,6 @@ const storageObject = computed(() => {
|
|||||||
function changeStorage(code: string) {
|
function changeStorage(code: string) {
|
||||||
if (inProps.storage !== code) {
|
if (inProps.storage !== code) {
|
||||||
emit('storagechanged', code)
|
emit('storagechanged', code)
|
||||||
emit('pathchanged', {
|
|
||||||
path: '/',
|
|
||||||
fileid: 'root',
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user