监听token改为监听userId

This commit is contained in:
不做码农 2023-05-04 11:24:45 +08:00
parent dd2d9cd12f
commit 3c8605fb01

View File

@ -14,7 +14,7 @@ import defaultSettings from '@/settings'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const token = computed(() => { const token = computed(() => {
return useUserStore().token return useUserStore().userId
}) })
const lang = computed(() => { const lang = computed(() => {