Browse Source

perf: 优化

曾坤森 2 weeks ago
parent
commit
952399ec65
2 changed files with 1 additions and 2 deletions
  1. 1 1
      src/api/home.ts
  2. 0 1
      src/views/home/list/index.vue

+ 1 - 1
src/api/home.ts

@@ -8,7 +8,7 @@ export interface Data {
   status: number;
   time: string;
   data: string;
-  routeInfoId?: number | null;
+  routeInfoId: number | null;
 }
 
 export interface Tree {

+ 0 - 1
src/views/home/list/index.vue

@@ -198,7 +198,6 @@ const obj = useStorage<StationKey>(STATIONKEY, {
   station: null,
 });
 const handleToDevice = (folder: Data) => {
-  console.log('ddd', folder);
   obj.value.id = folder.routeInfoId;
   obj.value.station = folder.station;
   router.push({ name: 'DeviceStatus' });