Browse Source

1维瓦斯爆炸

huangxingxing 8 tháng trước cách đây
mục cha
commit
03f66b08e0
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);