This commit is contained in:
DESKTOP-FUDKNA8\znjsz 2024-01-17 14:50:01 +08:00
parent a6e380a64c
commit 006b875d12

View File

@ -6,7 +6,8 @@ import { useWsStore } from "../store";
const listData = ref([]);
const store = useWsStore();
store.$subscribe((mutation, state) => {
listData.value = (state.data2.lineDetailData || Array(3).fill({})).map((item, index) => ({
listData.value = (state.data2.lineDetailData || Array(3).fill({})).map(
(item, index) => ({
productLine: item.productLine || "---",
mbt: item.edgingInput || "---",
mbb: item.edgingOutput || "---",
@ -22,7 +23,8 @@ store.$subscribe((mutation, state) => {
gh2: item.temperingOutput || "---",
bzt: item.finalInput || "---",
bzb: item.finalOutput || "---",
}));
})
);
});
</script>
@ -57,7 +59,7 @@ store.$subscribe((mutation, state) => {
<style scoped>
.realtime-table {
background: #00f3;
height: 240px;
height: 160px;
width: 80%;
align-self: self-start;
}
@ -65,4 +67,8 @@ store.$subscribe((mutation, state) => {
.dark-table {
height: 100%;
}
.dark-table >>> .el-table__inner-wrapper::before {
background-color: transparent !important;
}
</style>