diff --git a/src/views/tunnel/index.vue b/src/views/tunnel/index.vue index a843e5f..6679a7b 100644 --- a/src/views/tunnel/index.vue +++ b/src/views/tunnel/index.vue @@ -68,6 +68,7 @@ import { onMounted } from "vue"; import { getToken } from "@/utils/auth"; import { useAuthStore } from '@/store/userstore.js' +// const showFan = ref() const authStore = useAuthStore() const router = useRouter() const selectIndex = ref(1) @@ -115,6 +116,7 @@ const socketData = reactive({ windPressure: [], sensor: [], }) + onMounted(() => { nextTick(() => { showFan.value = true