为filterParams添加默认排序选项

This commit is contained in:
jxxghp
2025-01-29 19:07:43 +08:00
parent eee092a7fd
commit 47da6db51a

View File

@@ -109,6 +109,9 @@ watch([type, filterParams], () => {
if (!type.value) {
type.value = 'movies'
}
if (!filterParams.sort) {
filterParams.sort = 'U'
}
currentKey.value++
})
</script>