Bläddra i källkod

[Mod 000000]内因火灾与三维模型通信优化

hongrunxia 2 dagar sedan
förälder
incheckning
b7d035e6ff

+ 2 - 3
src/views/vent/monitorManager/deviceMonitor/components/device/index.vue

@@ -1350,7 +1350,7 @@
   function monitorChange(index) {
     dataSource.value = [];
     deviceActive.value = deviceList.value[index].deviceType;
-    router.replace({ path: route.path, query: { ...route.query, deviceActive: deviceActive.value } });
+    router.replace({ path: route.path, query: { ...route.query, deviceactive: deviceActive.value } });
     if (deviceType.value != deviceActive.value) deviceType.value = deviceActive.value;
     if (activeKey.value == 'monitor' && monitorTable.value) {
       monitorTable.value.setLoading(true);
@@ -1405,7 +1405,7 @@
     () => deviceActive.value,
     async (val) => {
       if (val) {
-        router.push({ path: route.path, query: { ...route.query, deviceActive: deviceActive.value } });
+        router.push({ path: route.path, query: { ...route.query, deviceactive: deviceActive.value } });
       }
     }
   );
@@ -1433,7 +1433,6 @@
       locationList.value = await devPosition({});
     }
 
-    router.push({ path: route.path, query: { ...route.query, tabtype: activeKey.value } });
     // safetyOption.value = await safetyDeviceList(null, { devicetype: 'safetymonitor', code: 'dataTypeName' })
   });