监控修改
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view>
|
||||
<view v-if="node.children && node.children.length" class="tree-title" @click="toggle">
|
||||
<view v-if="node.level ==1" class="tree-title" @click="toggle">
|
||||
<text>{{ expanded ? '▼' : '▶' }} {{ node.title }}</text>
|
||||
</view>
|
||||
|
||||
|
@@ -47,12 +47,13 @@ export default {
|
||||
methods: {
|
||||
async getPlay() {
|
||||
let params = {
|
||||
"videoIp": this.detailItem.deviceIp,
|
||||
"factoryNo":this.detailItem.factoryNo,
|
||||
"account":this.detailItem.deviceAccount,
|
||||
"pwd":this.detailItem.devicePwd,
|
||||
"channelId":this.detailItem.channelNo
|
||||
videoIp: this.detailItem.deviceIp,
|
||||
factoryNo:this.detailItem.factoryNo,
|
||||
account:this.detailItem.deviceAccount,
|
||||
pwd:this.detailItem.devicePwd,
|
||||
channelId:this.detailItem.channelNo
|
||||
}
|
||||
console.log("t1",params)
|
||||
let res = await this.$u.api.getPlay(params);
|
||||
if (res.code == 200) {
|
||||
this.videoSrc = res.data.hls
|
||||
|
Reference in New Issue
Block a user