From 870195e65145c55154aead8d71d4806dfcbf8f3c Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Sun, 19 Nov 2023 09:45:30 +0800 Subject: [PATCH] 222 --- src/views/mortgage/allData.vue | 10 ++++++++-- src/views/mortgage/index.vue | 2 -- 2 files changed, 8 insertions(+), 4 deletions(-) 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()