소스 검색

[Feat 0000]数据中心测试问题修复

bobo04052021@163.com 4 달 전
부모
커밋
7212faba2f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/vent/dataCenter/deviceCenter/index.vue

+ 2 - 1
src/views/vent/dataCenter/deviceCenter/index.vue

@@ -364,7 +364,8 @@ async function refreshData(deviceId: string) {
 }
 
 onMounted(() => {
-  const path = route.query.deviceType;
+  const path = route.query.deviceType as string;
+  deviceType.value = path;
   if (path) {
     getDeviceType(path);
     getDeviceList(path);