优化摄像头推流功能

This commit is contained in:
wuxw 2022-07-31 01:12:11 +08:00
parent 7f7b157986
commit 4f444ae1cd
2 changed files with 7 additions and 3 deletions

View File

@ -154,6 +154,10 @@
},
function(json, res) {
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
let _json = JSON.parse(json);
if(_json.code == -3){ // 摄像头 未推流 重新播放推流
$that.viewCameras();
}
},
function(errInfo, error) {});
},

View File

@ -71,12 +71,12 @@
</div>
</div>
<div class="form-group row" v-show="editLocationInfo.locationType == '5000' ">
<!-- <div class="form-group row" v-show="editLocationInfo.locationType == '5000' ">
<label class="col-sm-2 col-form-label"><span><vc:i18n name="修改部门" namespace="editLocation"></vc:i18n></span></label>
<div class="col-sm-10">
<!-- <vc:create path="frame/chooseOrgTree2" callBackListener="editLocation"></vc:create> -->
<vc:create path="frame/chooseOrgTree2" callBackListener="editLocation"></vc:create>
</div>
</div>
</div> -->
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button" v-on:click="editLocation()"><i