mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-18 10:18:14 +08:00
♻️ loading组件重构
This commit is contained in:
@@ -73,7 +73,7 @@ watch(
|
||||
() => visible.value,
|
||||
async (value) => {
|
||||
if (value) {
|
||||
await new Promise((resolve) => setTimeout(resolve, 500));
|
||||
await new Promise<void>((resolve) => setTimeout(resolve, 500));
|
||||
if (postListEl.value === null || props.collection.total < 5) return;
|
||||
let topNum: number;
|
||||
if (props.collection.total - props.collection.cur < 3) topNum = props.collection.total;
|
||||
|
||||
Reference in New Issue
Block a user