This commit is contained in:
tamaina 2023-07-11 15:17:52 +00:00
parent ddb41bd0ba
commit f5a019a6d6
1 changed files with 2 additions and 9 deletions

View File

@ -136,7 +136,7 @@ const fetching = ref(true);
/** /**
* onActivatedでtrue, onDeactivatedでfalseになる * onActivatedでtrue, onDeactivatedでfalseになる
*/ */
const active = ref(false); const active = ref(true);
const moreFetching = ref(false); const moreFetching = ref(false);
const more = ref(false); const more = ref(false);
@ -539,15 +539,8 @@ const updateItem = (id: MisskeyEntity['id'], replacer: (old: MisskeyEntity) => M
const inited = init(); const inited = init();
onActivated(() => {
// nothing to do
});
onDeactivated(() => {
// nothing to do
});
onMounted(() => { onMounted(() => {
active.value = true;
inited.then(scrollAfterInit); inited.then(scrollAfterInit);
}); });