瀏覽代碼

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);