解决会话列表持久化后,聊天页面卡死的问题
This commit is contained in:
parent
8b61369006
commit
f2abedd88e
@ -7,7 +7,7 @@ import { createGlobalState, useStorage } from '@vueuse/core'
|
|||||||
import { uniStorage } from '@/utils/uniStorage.js'
|
import { uniStorage } from '@/utils/uniStorage.js'
|
||||||
|
|
||||||
export const useDialogueListStore = createGlobalState(() => {
|
export const useDialogueListStore = createGlobalState(() => {
|
||||||
const dialogueList = useStorage('dialogueList', [], uniStorage)
|
const dialogueList = ref([])
|
||||||
const zpagingRef = ref()
|
const zpagingRef = ref()
|
||||||
const virtualList = ref([])
|
const virtualList = ref([])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user