BUG 27621
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<section class="monitorDetail">
|
||||
<div class="videoBox">
|
||||
<iframe ref="monitorIns" :style="style" :src="monitor.url" allow="autoplay *; microphone *; fullscreen *" allowfullscreen allowtransparency allowusermedia frameBorder="no" />
|
||||
<iframe ref="monitorIns" :style="style" :src="monitor.url" allow="autoplay *; microphone *; fullscreen *"
|
||||
allowfullscreen allowtransparency allowusermedia frameBorder="no"/>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
@@ -9,6 +10,7 @@
|
||||
<script>
|
||||
export default {
|
||||
name: 'monitorDetail',
|
||||
appName: "监控详情",
|
||||
data() {
|
||||
return {
|
||||
style: {},
|
||||
@@ -28,15 +30,15 @@ export default {
|
||||
methods: {
|
||||
getDetail(deviceId) {
|
||||
deviceId &&
|
||||
this.$instance
|
||||
.post('/app/appzyvideoequipment/getWebSdkUrl', null, {
|
||||
params: { deviceId },
|
||||
})
|
||||
.then((res) => {
|
||||
if (res?.data) {
|
||||
this.monitor = JSON.parse(res.data)
|
||||
}
|
||||
})
|
||||
this.$instance
|
||||
.post('/app/appzyvideoequipment/getWebSdkUrl', null, {
|
||||
params: {deviceId},
|
||||
})
|
||||
.then((res) => {
|
||||
if (res?.data) {
|
||||
this.monitor = JSON.parse(res.data)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
detectOrient() {
|
||||
|
||||
Reference in New Issue
Block a user