|
|
@@ -124,10 +124,6 @@ export default {
|
|
|
type: Object,
|
|
|
required: true
|
|
|
},
|
|
|
- online: {
|
|
|
- type: [Boolean, String],
|
|
|
- default: false
|
|
|
- },
|
|
|
theme: {
|
|
|
type: String,
|
|
|
default: 'dark'
|
|
|
@@ -146,6 +142,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
+ online () {
|
|
|
+ return this.device.onlineStatus === 1
|
|
|
+ },
|
|
|
targetId () {
|
|
|
return this.device.id
|
|
|
},
|