|
@@ -117,12 +117,12 @@ export default {
|
|
|
if ($this.toy_item && $this.toy_item.id > 0) {
|
|
|
$this.setToyStatus(1);
|
|
|
$this.$connection.sendToyConnection($this.toy_item);
|
|
|
- // 设置10秒后,若还是在连接中,设置连接失败
|
|
|
+ // 设置20秒后,若还是在连接中,设置连接失败
|
|
|
setTimeout(() => {
|
|
|
if ($this.device_status*1 === 2 && $this.connect_toy === 1) {
|
|
|
$this.setToyStatus(3);
|
|
|
}
|
|
|
- }, 10000);
|
|
|
+ }, 20000);
|
|
|
}
|
|
|
},
|
|
|
/**
|