From 20082441ef5f6d62b93d572cc5dfebb3616bea9a Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 24 十一月 2021 15:09:43 +0800 Subject: [PATCH] 拉流代理接口添加无人观看则自动移除参数,拉流代理返回值增加流地址信息 --- web_src/src/components/ParentPlatformList.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/web_src/src/components/ParentPlatformList.vue b/web_src/src/components/ParentPlatformList.vue index 47ffe2d..6960c6a 100644 --- a/web_src/src/components/ParentPlatformList.vue +++ b/web_src/src/components/ParentPlatformList.vue @@ -138,9 +138,7 @@ }); }, chooseChannel: function(platform) { - this.$refs.chooseChannelDialog.openDialog(platform.serverGBId, ()=>{ - this.initData() - }) + this.$refs.chooseChannelDialog.openDialog(platform.serverGBId, this.initData) }, initData: function() { this.getPlatformList(); @@ -158,7 +156,7 @@ this.$axios({ method: 'get', - url:`/api/platform/query/${that.count}/${that.currentPage}` + url:`/api/platform/query/${that.count}/${that.currentPage}` }).then(function (res) { that.total = res.data.total; that.platformList = res.data.list; -- Gitblit v1.8.0