From df321f27af64d61c7553aa17c660824522f00a3f Mon Sep 17 00:00:00 2001 From: Lawrence <1934378145@qq.com> Date: 星期一, 11 一月 2021 20:54:29 +0800 Subject: [PATCH] 平台向上级联,重新启用时自动重设Expires值 --- web_src/src/components/ParentPlatformList.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/ParentPlatformList.vue b/web_src/src/components/ParentPlatformList.vue index 39aeb3c..98907db 100644 --- a/web_src/src/components/ParentPlatformList.vue +++ b/web_src/src/components/ParentPlatformList.vue @@ -95,7 +95,6 @@ } }, mounted() { - this.$refs.chooseChannelDialog.openDialog() this.initData(); this.updateLooper = setInterval(this.initData, 10000); }, @@ -138,7 +137,9 @@ }); }, chooseChannel: function(platform) { - this.$refs.chooseChannelDialog.openDialog() + this.$refs.chooseChannelDialog.openDialog(platform.deviceGBId, ()=>{ + this.initData() + }) }, initData: function() { this.getPlatformList(); -- Gitblit v1.8.0