Browse Source

Merge branch 'master' of http://182.92.126.35:3000/hrx/mky-vent-base

hongrunxia 1 month ago
parent
commit
fb29547bda
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/vent/home/configurable/configurable.api.ts

+ 2 - 1
src/views/vent/home/configurable/configurable.api.ts

@@ -62,9 +62,10 @@ export const list = (params) => {
       }
     });
     res.sys_majorpath.forEach((e) => {
-      const { drag_1, drag_2, drag_3, drag_total } = e.majorpath;
+      const { drag_1, drag_2, drag_3 } = e.majorpath;
       const { fy_merge = { value: '1' } } = e.readData;
       const drag_merge = parseInt(fy_merge.value);
+      const drag_total = drag_1 + drag_2 + drag_3;
       // const m3_merge = parseInt(retM3_merge.value);
 
       e.piechart = [