feat(frontend): default to latest reply view

This commit is contained in:
Tim
2025-07-31 12:50:23 +08:00
parent aa38c2e5e1
commit a322d94f42

View File

@@ -151,13 +151,13 @@ export default {
const tagOptions = ref([])
const categoryOptions = ref([])
const isLoadingPosts = ref(false)
const topics = ref(['最新', '最新回复', '排行榜' /*, '热门', '类别'*/])
const topics = ref(['最新回复', '最新', '排行榜' /*, '热门', '类别'*/])
const selectedTopic = ref(
route.query.view === 'ranking'
? '排行榜'
: route.query.view === 'latest-reply'
? '最新回复'
: '最新'
: route.query.view === 'latest'
? '最新'
: '最新回复'
)
const articles = ref([])