enhance(frontend): improve some caches
This commit is contained in:
parent
cd6428715e
commit
25e030a707
8 changed files with 23 additions and 68 deletions
|
|
@ -42,7 +42,7 @@ import { $i } from '@/account';
|
|||
const items = $computed(() => userListsCache.value.value ?? []);
|
||||
|
||||
function fetch() {
|
||||
userListsCache.fetch(() => os.api('users/lists/list'));
|
||||
userListsCache.fetch();
|
||||
}
|
||||
|
||||
fetch();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue