修改提示

master
unknown 2024-06-04 10:55:39 +08:00
parent e5fea5c439
commit 831808415d
6 changed files with 12 additions and 6 deletions

View File

@ -149,7 +149,8 @@ export default {
},
async getData(e) {
if (!e.device_id) {
return this.$u.toast('没有关联基地')
// this.$u.toast('')
return
}
try {
const { data } = await http.get(

View File

@ -193,7 +193,8 @@ export default {
this.chatList = []
if (!this.filterParmas.device_id){
this.loadingType = 0
return this.$u.toast('没有关联基地')
// this.$u.toast('')
return
}
const { data } = await http.get('/api/monitoring-data', {
params: this.filterParmas,

View File

@ -415,7 +415,8 @@
let _data = data.data;
if(_data.length==0){
this.loadingType = 0
return this.$u.toast('没有关联基地');
// this.$u.toast('');
return
}
for(let item of _data){
item['label'] = item.name;

View File

@ -544,7 +544,8 @@ export default {
let _data = data.data
if(_data.length==0){
this.loading = 'nomore'
return this.$u.toast('没有关联基地')
// this.$u.toast('')
return
}
for (let item of _data) {
item['label'] = item.name

View File

@ -466,7 +466,8 @@
let _data = data.data;
if(_data.length==0){
this.loadingType = 0
return this.$u.toast('没有关联基地');
// this.$u.toast('');
return
}
for(let item of _data){

View File

@ -536,7 +536,8 @@ export default {
let _data = data.data
if (_data.length == 0) {
this.loadingType = 0
return this.$u.toast('没有关联基地')
// this.$u.toast('')
return
}
for (let item of _data) {
item['label'] = item.name