|
|
@ -74,10 +74,11 @@ export default { |
|
|
|
methods: { |
|
|
|
handleClose() { |
|
|
|
this.controlDialogVisible = false; |
|
|
|
this.player?.destroy(); |
|
|
|
// this.player?.destroy(); |
|
|
|
}, |
|
|
|
cameraChange() { |
|
|
|
console.log('chanage.======') |
|
|
|
this.controlDialogVisible = false |
|
|
|
const changeItem = find(this.urls, { iotDeviceId: this.cameraId }); |
|
|
|
this.dialogData = { ...changeItem, parseOtherConfig: changeItem.otherConfig && JSON.parse(changeItem.otherConfig) }; |
|
|
|
this.player?.destroy(); |
|
|
|