diff --git a/src/views/mortgage/allData.vue b/src/views/mortgage/allData.vue index 58c83aa..bea65c1 100644 --- a/src/views/mortgage/allData.vue +++ b/src/views/mortgage/allData.vue @@ -620,7 +620,13 @@ req.getOtherList(this.warehouseSid).then(res => { console.log('getOtherList:', res) - this.cameraList = res.data + + if (res.data) { + this.cameraList = res.data + + this.cameraInfo = res.data[0] + this.getVedioPcLiveById(res.data[0].id) + } }).catch(e => { console.log('GdinventoryLog-loadList-ee:', e) @@ -855,7 +861,7 @@ position: absolute; width: 7.5%; height: 9%; - + } diff --git a/src/views/mortgage/index.vue b/src/views/mortgage/index.vue index 01f70ef..b188bfa 100644 --- a/src/views/mortgage/index.vue +++ b/src/views/mortgage/index.vue @@ -413,8 +413,6 @@ ] }; }, - - created() { this.loadList()