소스 검색

1维瓦斯爆炸

huangxingxing 8 달 전
부모
커밋
03f66b08e0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/control/gassControl.js

+ 2 - 0
src/control/gassControl.js

@@ -41,6 +41,8 @@ export class gassControl {
     }
     //获取第几步标量数据
     async getScalrsByStep(step) {
+        this.scalars = new Map();
+        this.scalar = new Map();
         this.step = step;
         if (this.scalars.get(step)) {
             this.scalar = this.scalars.get(step);