src/views/alarm/sms.vue
@@ -176,8 +176,16 @@ search() { this.listLoading = true searchDuanxin(this.listQuery).then(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 }) },