|
@@ -162,7 +162,11 @@ export default {
|
|
|
handler(newValue, oldValue){
|
|
|
this.alarm = newValue
|
|
|
// console.log(7788,this.alarm)
|
|
|
- this.getList()
|
|
|
+ if (this.alarm.length == 0) {
|
|
|
+ this.information = '暂无数据'
|
|
|
+ }else{
|
|
|
+ this.getList()
|
|
|
+ }
|
|
|
},
|
|
|
immediate: true,
|
|
|
deep: true
|