mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🚸 调整loading
This commit is contained in:
@@ -150,6 +150,7 @@ const postRaw = shallowRef<PostRaw>({ isLast: false, lastId: "", total: 0 });
|
|||||||
const posts = shallowRef<Array<TGApp.Plugins.Mys.Post.FullData>>([]);
|
const posts = shallowRef<Array<TGApp.Plugins.Mys.Post.FullData>>([]);
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
await showLoading.start("正在加载帖子数据");
|
||||||
await loadForums();
|
await loadForums();
|
||||||
if (gid && typeof gid === "string") curGid.value = Number(gid);
|
if (gid && typeof gid === "string") curGid.value = Number(gid);
|
||||||
if (forum && typeof forum === "string") {
|
if (forum && typeof forum === "string") {
|
||||||
|
|||||||
Reference in New Issue
Block a user