From ab13017117b18427bb5ee687c9a1b3fd5a94f2ae Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: 星期二, 20 四月 2021 17:20:01 +0800 Subject: [PATCH] 处理空指针 --- web_src/src/components/ParentPlatformList.vue | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/web_src/src/components/ParentPlatformList.vue b/web_src/src/components/ParentPlatformList.vue index 47ffe2d..c4e6b0a 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(); -- Gitblit v1.8.0