no message
This commit is contained in:
@@ -10,7 +10,6 @@ let socketTask = null
|
||||
|
||||
onMounted(() => {
|
||||
useSocket()
|
||||
console.log("11")
|
||||
document.addEventListener("visibilitychange", () => {
|
||||
if (document.visibilityState === "visible" && socketTask.readyState != 1) useSocket()
|
||||
})
|
||||
|
||||
@@ -121,8 +121,8 @@ const routes = [
|
||||
|
||||
|
||||
const router = createRouter({
|
||||
// history: createWebHistory(process.env.BASE_URL),
|
||||
history: createWebHistory(),
|
||||
// history: createWebHistory(),
|
||||
mode: "history",
|
||||
routes,
|
||||
scrollBehavior(to, from, savedPosition) {
|
||||
|
||||
Reference in New Issue
Block a user