修复拉流看方式回显

This commit is contained in:
648540858
2024-07-22 11:07:58 +08:00
parent 0b7d55ed74
commit 2f4d983f9f
5 changed files with 23 additions and 12 deletions

View File

@@ -159,7 +159,12 @@
window.clearInterval(this.updateLooper)
},
startUpdateList: function (){
this.updateLooper = setInterval(this.getStreamProxyList, 1000);
this.updateLooper = setInterval(()=>{
if (!this.streamProxy) {
this.getStreamProxyList()
}
}, 1000);
},
currentChange: function(val){
this.currentPage = val;
@@ -238,6 +243,7 @@
this.$set(row, "noneReader", 0)
}
this.streamProxy = row
this.$set(this.streamProxy, "rtspType", row.rtspType)
},
closeEdit: function(row){
this.streamProxy = null