move editFavoritesMode to store

This commit is contained in:
pa
2025-10-28 23:04:05 +09:00
committed by Natsumi
parent a3f5f938b2
commit 69cb2c8259
9 changed files with 115 additions and 202 deletions
+3
View File
@@ -122,6 +122,8 @@ export const useFavoriteStore = defineStore('Favorite', () => {
const localAvatarFavorites = ref({});
const editFavoritesMode = ref(false);
const favoriteDialog = ref({
visible: false,
loading: false,
@@ -1583,6 +1585,7 @@ export const useFavoriteStore = defineStore('Favorite', () => {
currentFavoriteTab,
localWorldFavGroupLength,
localAvatarFavGroupLength,
editFavoritesMode,
initFavorites,
applyFavorite,