useUserStore -> useUserInfoStore

This commit is contained in:
yoon 2025-02-14 13:25:47 +09:00
parent a169d71c1d
commit bbc8d8b6b9
3 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@
import { useRoute } from 'vue-router';
import { ref } from 'vue';
import UserFormInput from '@c/input/UserFormInput.vue';
import { useUserStore } from '@s/useUserStore';
import { useUserInfoStore } from '@/stores/useUserInfoStore';
const id = ref('');
const password = ref('');
@ -40,7 +40,7 @@
const passwordAlert = ref(false);
const remember = ref(false);
const userStore = useUserStore();
const userStore = useUserInfoStore();
const route = useRoute();
const handleIdChange = value => {

View File

@ -24,11 +24,11 @@
<script setup>
import { onMounted, ref, computed, nextTick } from "vue";
import { useUserStore } from "@s/useUserStore"; //
import { useUserInfoStore } from "@/stores/useUserInfoStore"; //
import { useUserStore as useUserListStore } from "@s/userList"; //
import $api from "@api";
const userStore = useUserStore();
const userStore = useUserInfoStore();
const userListStore = useUserListStore();
const userList = ref([]);

View File

@ -228,7 +228,7 @@
</template>
<script setup>
import { useAuthStore } from '@s/useAuthStore';
import { useUserStore } from '@s/useUserStore';
import { useUserInfoStore } from '@/stores/useUserInfoStore';
import { useRouter } from 'vue-router';
import { useThemeStore } from '@s/darkmode';
import { onMounted, ref } from 'vue';
@ -236,7 +236,7 @@ import { onMounted, ref } from 'vue';
const user = ref(null);
const authStore = useAuthStore();
const userStore = useUserStore();
const userStore = useUserInfoStore();
const router = useRouter();
const { isDarkMode, switchToDarkMode, switchToLightMode } = useThemeStore();