更新大屏

This commit is contained in:
2025-07-14 18:15:09 +08:00
parent 694ad9a54c
commit 446304ae1b
6 changed files with 18 additions and 30 deletions

View File

@ -1,12 +1,11 @@
<template>
<div class="noScollLine">
<!-- 预警信息弹框 -->
<Home_YJ v-if="isShow.showYj" :show="isShow.showYj" :data="list.yjxqInfo" />
<Home_YJ v-if="isShow.showYj" :show="isShow.showYj" :data="list.Info_YJ" />
</div>
</template>
<script setup>
import { qcckPost, qcckGet } from "@/api/qcckApi.js";
import emitter from "@/utils/eventBus.js";
import Home_YJ from "./components/home_yj.vue";
import { ref, onMounted, onUnmounted, reactive, getCurrentInstance } from "vue";
@ -22,8 +21,7 @@ onMounted(() => {
// 展示预警
emitter.on("showHomeYJ", (res) => {
isShow.value.showYj = res ? true : false;
console.log(res,'====');
// if (res) list.Info_YJ = res;
if (res) list.Info_YJ = res;
});
});
onUnmounted(() => {