Update store paths and add persistence plugin

This commit is contained in:
wangqiao
2025-08-26 16:25:58 +08:00
parent e021ac1e05
commit 4263a0a235
27 changed files with 61 additions and 31 deletions

View File

@ -68,7 +68,7 @@
import type { ChannelRespVO } from '~/api/channel/types'
import { createChannelFollow, deleteChannelFollow } from '~/api/channel/index'
import ChatPage from '~/pages/chat-page/index.vue'
import useUserStore from '~/store/user'
import useUserStore from '~/stores/user'
const userStore = useUserStore()
const lunTanRes = defineModel<ChannelRespVO>('modelValue', {

View File

@ -36,7 +36,7 @@
</template>
<script setup lang="ts">
import useUserStore from '~/store/user'
import useUserStore from '~/stores/user'
const userStore = useUserStore()
const handleClick = () => {
// 判断是否登录