src/views/alarm/smslog.vue
@@ -90,11 +90,16 @@ search() { this.listLoading = true searchDuanxinlog(this.listQuery).then(response => { console.log(response); this.list = response.data.records this.total = response.data.total if (response.data!=null) { this.list = response.data.records this.total = response.data.total }else{ this.$message({ message: '未搜索到数据', type: 'error' }) } this.listLoading = false }) },