diff --git a/pages/timeEnvironment/timeEnvironment.vue b/pages/timeEnvironment/timeEnvironment.vue index 3bfe776..313b5b1 100644 --- a/pages/timeEnvironment/timeEnvironment.vue +++ b/pages/timeEnvironment/timeEnvironment.vue @@ -728,8 +728,9 @@ method: 'GET' }).then(res=>{ if(res.code == 200){ + console.log(res.data); el.equipmentName20ListChild = res.data; - this.updateTime20.push(res.data[0]) + this.updateTime20.push(res.data[0]?res.data[0]:[]) }