解决变量问题

This commit is contained in:
Hcat1314
2023-12-13 00:35:56 +08:00
parent 45ac8aadf2
commit a93be12f0a

View File

@@ -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