1
This commit is contained in:
parent
52a9111a19
commit
9c3b9218d2
@ -7,6 +7,7 @@ import DatetimeTool from "./components/HeadTime.vue";
|
|||||||
import AppHeader from "./components/Base/Header.vue";
|
import AppHeader from "./components/Base/Header.vue";
|
||||||
import Tools from "./components/Tools.vue";
|
import Tools from "./components/Tools.vue";
|
||||||
import FullEqList from "./FullEqList.vue";
|
import FullEqList from "./FullEqList.vue";
|
||||||
|
import { connect0 } from "./utils/useWebsocket";
|
||||||
|
|
||||||
const mainContainer = ref(null);
|
const mainContainer = ref(null);
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@ -16,6 +17,9 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
const store = useWsStore();
|
const store = useWsStore();
|
||||||
|
|
||||||
|
connect0(store);
|
||||||
|
|
||||||
const alarmList = ref(
|
const alarmList = ref(
|
||||||
(store.data1.alarmArrList || []).map((item, index) => ({
|
(store.data1.alarmArrList || []).map((item, index) => ({
|
||||||
id: item.id,
|
id: item.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user