| | |
| | | import {useUserStore} from "@/store/modules/user"; |
| | | import {CACHE_KEY, useCache} from "@/hooks/web/useCache"; |
| | | import {ElMessage} from "element-plus"; |
| | | const { currentRoute, push } = useRouter() |
| | | import {isStringEmpty} from "@/utils/stringUtil" |
| | | |
| | | const { push } = useRouter() |
| | | const { wsCache } = useCache() |
| | | |
| | | defineOptions({ name: 'RoomLoginSelect' }) |
| | | |
| | | const route = useRoute(); |
| | | |
| | | const userStore = useUserStore() |
| | | |
| | |
| | | } |
| | | |
| | | userStore.setRoomInfoAction(curSel.value) |
| | | push({ path: "/"}) |
| | | if (isStringEmpty(route.redirectedFrom?.fullPath)) |
| | | push({ path: "/"}) |
| | | else |
| | | push({ path: route.redirectedFrom?.fullPath}) |
| | | } |
| | | |
| | | const test = () => { |