|
@ -146,7 +146,7 @@ export default { |
|
|
let _this = this; |
|
|
let _this = this; |
|
|
if (process.env.NODE_ENV == "development") { |
|
|
if (process.env.NODE_ENV == "development") { |
|
|
//测试websocket用的 |
|
|
//测试websocket用的 |
|
|
// return; |
|
|
return; |
|
|
let deviceState = "0"; |
|
|
let deviceState = "0"; |
|
|
document.onkeydown = function (e) { |
|
|
document.onkeydown = function (e) { |
|
|
deviceState == "0" ? deviceState = "1" : deviceState = "0"; |
|
|
deviceState == "0" ? deviceState = "1" : deviceState = "0"; |
|
|