diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue
index c8b3c1fe..77619779 100644
--- a/front/src/views/home/infrastructurePage.vue
+++ b/front/src/views/home/infrastructurePage.vue
@@ -8,7 +8,7 @@
+ >
+
+ 正常
+ 失效
+
+
@@ -115,20 +120,41 @@
}
let clickList = ref([]) //存储点击的tab
init()
+ //表格的高度
+ let tableHeight = ref('600')
//tab切换点击事件
- const tabClick = (indexFather, name) => {
+ const tabClick = (indexFather, name, fatherName) => {
if (clickList.value[indexFather].content.indexOf(name) != -1) {
- // debugger
+ debugger
+ if (fatherName == '视频资源') {
+ debugger
+ tableHeight.value = 330
+ } else if (fatherName == '云资源') {
+ debugger
+ tableHeight.value = 600
+ } else if (fatherName == '感知资源') {
+ debugger
+ tableHeight.value = 330
+ }
clickList.value[indexFather].content.splice(
clickList.value[indexFather].content.indexOf(name),
1
)
} else {
- // debugger
+ debugger
+ if (fatherName == '视频资源') {
+ debugger
+ tableHeight.value = 330
+ } else if (fatherName == '云资源') {
+ debugger
+ tableHeight.value = 600
+ } else if (fatherName == '感知资源') {
+ debugger
+ tableHeight.value = 330
+ }
clickList.value[indexFather].content[0] = name
}
console.log('clickList.value', clickList.value)
- // debugger
}
const name = ref('')
// 搜索框
@@ -294,129 +320,131 @@
}