为filterParams添加默认排序选项

This commit is contained in:
jxxghp
2025-01-29 19:07:43 +08:00
parent eee092a7fd
commit 47da6db51a
+3
View File
@@ -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>