lxh 1 day ago
parent
commit
121657b8d9

+ 1 - 1
src/views/vent/safetyList/common/detail-130.vue

@@ -561,7 +561,7 @@ async function onChangeTab(tab) {
   activeKey.value = tab;
   stationId.value = ''
   clearTimeout(timer);
-  timer = undefined
+  clearTimeout(timer3)
   if (activeKey.value == 'device') {
     // await getSubStationList();
     // await getStationList1();

+ 3 - 1
src/views/vent/safetyList/common/detail.vue

@@ -606,8 +606,10 @@ async function tableExpand(expaned, record) {
 async function onChangeTab(tab) {
   activeKey.value = tab;
   stationId.value = ''
-  clearTimeout(timer1);
   clearTimeout(timer);
+  clearTimeout(timer1);
+  clearTimeout(timer2)
+  clearTimeout(timer3)
   if (activeKey.value == 'device') {
     // await getSubStationList();
     // await getStationList1();