mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 05:43:07 +02:00
active?
This commit is contained in:
parent
ddb41bd0ba
commit
f5a019a6d6
1 changed files with 2 additions and 9 deletions
|
@ -136,7 +136,7 @@ const fetching = ref(true);
|
|||
/**
|
||||
* onActivatedでtrue, onDeactivatedでfalseになる
|
||||
*/
|
||||
const active = ref(false);
|
||||
const active = ref(true);
|
||||
|
||||
const moreFetching = ref(false);
|
||||
const more = ref(false);
|
||||
|
@ -539,15 +539,8 @@ const updateItem = (id: MisskeyEntity['id'], replacer: (old: MisskeyEntity) => M
|
|||
|
||||
const inited = init();
|
||||
|
||||
onActivated(() => {
|
||||
// nothing to do
|
||||
});
|
||||
|
||||
onDeactivated(() => {
|
||||
// nothing to do
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
active.value = true;
|
||||
inited.then(scrollAfterInit);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue