mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
🚸 默认最新回复
This commit is contained in:
@@ -61,12 +61,12 @@ import { createPost } from "../../utils/TGWindow";
|
||||
const loading = ref<boolean>(true);
|
||||
const loadingTitle = ref<string>("正在加载中...");
|
||||
|
||||
const posts = ref<TGApp.Plugins.Mys.News.RenderCard[]>([]);
|
||||
const posts = ref<TGApp.Plugins.Mys.Forum.RenderCard[]>([]);
|
||||
|
||||
onMounted(async () => {
|
||||
loading.value = true;
|
||||
const getData = await Mys.Post.forum(26);
|
||||
posts.value = Mys.News.card.news(getData);
|
||||
const getData = await Mys.Posts.get(26, 2, 1);
|
||||
posts.value = Mys.Posts.card(getData);
|
||||
loading.value = false;
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user