@@ -25,15 +25,15 @@ export default {
}
},
render (h) {
- // if (!this.online) {
- // return h(
- // 'div',
- // {
- // staticClass: 'u-font-size--lg u-color--info u-text--center'
- // },
- // '设备当前未上线'
- // )
- // }
+ if (!this.online) {
+ return h(
+ 'div',
+ {
+ staticClass: 'u-font-size--lg u-color--info u-text--center'
+ },
+ '设备当前未上线'
+ )
+ }
return h(
'div',
{