浏览代码

佩戴不正确显示零值

chaooo 2 年之前
父节点
当前提交
fcac05513f
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      src/utils/connection.js
  2. 0 1
      src/utils/game.js

+ 1 - 1
src/utils/connection.js

@@ -414,7 +414,7 @@ export default {
               success(res) {$this.RSSI = res.RSSI;}
             });
             // 分析实时数据
-            if($this.$options.name === "StartGames" && $this.device_bg){
+            if($this.$options.name === "StartGames"){
               $this.analysisGameData(hexStr);
             }
           }

+ 0 - 1
src/utils/game.js

@@ -1,5 +1,4 @@
 import game_store from '../store/game'
-import {gameAddLine, gameEnd} from "../requests/game";
 
 // // 往后端推送一次定时数据
 // export function post_data($big_data) {