Update store paths and add persistence plugin
This commit is contained in:
@ -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', {
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import useUserStore from '~/store/user'
|
||||
import useUserStore from '~/stores/user'
|
||||
const userStore = useUserStore()
|
||||
const handleClick = () => {
|
||||
// 判断是否登录
|
||||
|
||||
Reference in New Issue
Block a user