From adcb0cdbf0fe9d4cc3878c85953804eb1fc6657a Mon Sep 17 00:00:00 2001 From: guoyue Date: Wed, 12 Oct 2022 16:11:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8:=20=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=91=84=E5=83=8F=E5=A4=B4=E5=88=97=E8=A1=A8=E7=9A=84?= =?UTF-8?q?api=E6=9B=B4=E6=94=B9=E4=B8=BA=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=BD=A2=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/api/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/api/file.js b/front/src/api/file.js index 9e4133e2..19b43c8d 100644 --- a/front/src/api/file.js +++ b/front/src/api/file.js @@ -99,7 +99,7 @@ export function getHls(params) { } // 西海岸--获取摄像头列表的后台地址 (测试环境地址:10.134.135.92:9537) -let _cameraUrl = _global && _global.config && _global.config.camreaInfo.cameraUrl || '10.134.135.92:9537'; +let _cameraUrl = _global && _global.config && _global.config.camreaInfo && _global.config.camreaInfo.cameraUrl || '10.134.135.92:9537'; //能力集市基础设施-左侧列表 export function getCameraInfoByAreaId(params) { return axios.get(`http://${_cameraUrl}/data_service/getCamera/getCameraInfoByAreaId?areaId=${params.areaId}`,