解决变量问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user