Merge pull request '解决变量问题' (#98) from LJ into dev

Reviewed-on: http://git.feashow.cn/clay/tunnel-cloud-web/pulls/98
This commit is contained in:
liaojie
2023-12-12 16:38:35 +00:00

View File

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