监测点代码优化

This commit is contained in:
仲么了
2024-02-29 10:50:14 +08:00
parent 8175de04bb
commit d9a5a7c9d7
5 changed files with 9 additions and 5 deletions

View File

@@ -39,7 +39,7 @@
<Shishishuju />
</el-tab-pane>
</el-tabs>
<div class="monitoring-point" v-if="!monitoringPoint.state.showCheckBox">
<div class="monitoring-point" v-if="!monitoringPoint.state.showCheckBox && monitoringPoint.state.lineName">
当前位置{{ monitoringPoint.state.lineName }}
</div>
</div>
@@ -72,7 +72,7 @@ const pointTree = ref()
const size = ref(0)
const isReload = ref(false)
const height = mainHeight(40)
const activeName = ref('3')
const activeName = ref('1')
onMounted(() => {
const dom = document.getElementById('navigation-splitpanes')
if (dom) {