From f52be3039975b41f24f8df02b71b60911aa7c63a Mon Sep 17 00:00:00 2001 From: walkTtalk <irwenjing@gmail.com> Date: 星期六, 26 二月 2022 00:01:35 +0800 Subject: [PATCH] Fix issue #347: 修改前端启动报错 --- 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..a3f1120 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, platform.name, platform.catalogId, 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