diff --git a/src/components/videoModule/DHPlayer/dhPlayer.vue b/src/components/videoModule/DHPlayer/dhPlayer.vue index 6e637cdf..78c0e34b 100644 --- a/src/components/videoModule/DHPlayer/dhPlayer.vue +++ b/src/components/videoModule/DHPlayer/dhPlayer.vue @@ -233,7 +233,7 @@ onMounted(() => { console.log("开始初始化插件", props.devList); if (props.devList.length > 0) { pluginLoginInfo.value.host = props.devList[0].account; - pluginLoginInfo.value.port = props.devList[0].password; + pluginLoginInfo.value.port = props.devList[0].port; pluginLoginInfo.value.username = props.devList[0].appId; pluginLoginInfo.value.password = props.devList[0].appSecret; dataVideoList.value = props.devList; diff --git a/src/components/videoModule/isc_plugin/video_isc_plugin.js b/src/components/videoModule/isc_plugin/video_isc_plugin.js index 788fbf84..89b5c907 100644 --- a/src/components/videoModule/isc_plugin/video_isc_plugin.js +++ b/src/components/videoModule/isc_plugin/video_isc_plugin.js @@ -345,7 +345,7 @@ export function isLoadPlugin(devList, layout) { devList[0].appId, devList[0].appSecret, devList[0].account, - devList[0].password, + devList[0].port, false, devList, layout diff --git a/src/components/videoModule/playBack/back.js b/src/components/videoModule/playBack/back.js index c5e4bc7f..cd3be0de 100644 --- a/src/components/videoModule/playBack/back.js +++ b/src/components/videoModule/playBack/back.js @@ -344,7 +344,7 @@ export function isLoadPlugin(devList, layout) { devList[0].appId, devList[0].appSecret, devList[0].account, - devList[0].password, + devList[0].port, false, devList, layout ); diff --git a/src/components/videoModule/playBack/playBack.vue b/src/components/videoModule/playBack/playBack.vue index ade9ddcb..17a78853 100644 --- a/src/components/videoModule/playBack/playBack.vue +++ b/src/components/videoModule/playBack/playBack.vue @@ -72,7 +72,7 @@ export default { this.initparam.appKey = this.devList[0].appId this.initparam.secret = this.devList[0].appSecret this.initparam.apiIp = this.devList[0].account - this.initparam.apiPort = this.devList[0].password + this.initparam.apiPort = this.devList[0].port this.pointCode = this.devList[0].serialNumber // 时间处理 diff --git a/src/components/videoModule/videoModule.vue b/src/components/videoModule/videoModule.vue index 1c5cbdc1..4a7fc994 100644 --- a/src/components/videoModule/videoModule.vue +++ b/src/components/videoModule/videoModule.vue @@ -513,7 +513,7 @@ export default { // this.infor.appId, // this.infor.appSecret, // this.infor.account, - // this.infor.password + // this.infor.port // ).then((res) => { // // 配置参数加载视频 // this.screens.setOptions( @@ -678,7 +678,7 @@ export default { // this.infor.appId, // this.infor.appSecret, // this.infor.account, - // this.infor.password + // this.infor.port // ).then((res) => { // this.screens.setOptions( // /* 这里传入配置对象 */ {