修改看板

boardTest
夜笙歌 2 weeks ago
parent e5f2df87fa
commit 9ae387d340

@ -369,7 +369,7 @@ export default {
selectOffLineDevice() { selectOffLineDevice() {
Object.keys(this.isOnline).forEach(key => { Object.keys(this.isOnline).forEach(key => {
// console.log(key, new Date().getTime() - this.isOnline[key]) // console.log(key, new Date().getTime() - this.isOnline[key])
if (new Date().getTime() - this.isOnline[key] > (1000 * 30)) { if (new Date().getTime() - this.isOnline[key] > (1000 * 60 * 60)) {
console.log('error', key) console.log('error', key)
this.$confirm(`设备${key}已离线`, '设备离线', { this.$confirm(`设备${key}已离线`, '设备离线', {
cancelButtonText: '关闭', cancelButtonText: '关闭',

Loading…
Cancel
Save