mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-04-21 03:17:28 +08:00
feat(frontend): default to latest reply view
This commit is contained in:
@@ -151,13 +151,13 @@ export default {
|
|||||||
const tagOptions = ref([])
|
const tagOptions = ref([])
|
||||||
const categoryOptions = ref([])
|
const categoryOptions = ref([])
|
||||||
const isLoadingPosts = ref(false)
|
const isLoadingPosts = ref(false)
|
||||||
const topics = ref(['最新', '最新回复', '排行榜' /*, '热门', '类别'*/])
|
const topics = ref(['最新回复', '最新', '排行榜' /*, '热门', '类别'*/])
|
||||||
const selectedTopic = ref(
|
const selectedTopic = ref(
|
||||||
route.query.view === 'ranking'
|
route.query.view === 'ranking'
|
||||||
? '排行榜'
|
? '排行榜'
|
||||||
: route.query.view === 'latest-reply'
|
: route.query.view === 'latest'
|
||||||
? '最新回复'
|
? '最新'
|
||||||
: '最新'
|
: '最新回复'
|
||||||
)
|
)
|
||||||
|
|
||||||
const articles = ref([])
|
const articles = ref([])
|
||||||
|
|||||||
Reference in New Issue
Block a user