解决变量问题
This commit is contained in:
@@ -68,6 +68,7 @@ import { onMounted } from "vue";
|
|||||||
import { getToken } from "@/utils/auth";
|
import { getToken } from "@/utils/auth";
|
||||||
import { useAuthStore } from '@/store/userstore.js'
|
import { useAuthStore } from '@/store/userstore.js'
|
||||||
|
|
||||||
|
// const showFan = ref()
|
||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore()
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const selectIndex = ref(1)
|
const selectIndex = ref(1)
|
||||||
@@ -115,6 +116,7 @@ const socketData = reactive({
|
|||||||
windPressure: [],
|
windPressure: [],
|
||||||
sensor: [],
|
sensor: [],
|
||||||
})
|
})
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
showFan.value = true
|
showFan.value = true
|
||||||
|
|||||||
Reference in New Issue
Block a user