mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 08:46:40 +08:00
为filterParams添加默认排序选项
This commit is contained in:
@@ -109,6 +109,9 @@ watch([type, filterParams], () => {
|
|||||||
if (!type.value) {
|
if (!type.value) {
|
||||||
type.value = 'movies'
|
type.value = 'movies'
|
||||||
}
|
}
|
||||||
|
if (!filterParams.sort) {
|
||||||
|
filterParams.sort = 'U'
|
||||||
|
}
|
||||||
currentKey.value++
|
currentKey.value++
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user