@@ -74,7 +74,7 @@ export default {
components: {},
data() {
return {
- active: '0',
+ active: '1',
rec_list: [],
cp_list: [],
limit: 10
@@ -438,6 +438,8 @@ export default {
}
})
+ bluetooth.watch_bluetooth_status($this)
+
},
onLoad() {
@@ -391,6 +391,12 @@ export default {
$that.status = 0
//断开玩具连接
$that.connect_toy = 0
+ //判断游戏是否游戏中
+ let $game_status = game_store.getters.getGameStatus;
+ if ($game_status == 1) {
+ $that.game_finished()
+ }