From 9c878d37c3bd732808d43a2a3958735a9ad07cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E4=BA=8C=E7=8C=9B?= Date: Tue, 27 Mar 2018 16:59:09 +0800 Subject: [PATCH] =?UTF-8?q?F=20=E5=8F=91=E5=B8=83=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=9A=84=E4=B8=BB=E6=9C=BA=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E4=BC=9A=E5=87=BA=E7=8E=B0=E6=97=A0=E6=B3=95=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E5=85=B3=E8=81=94=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/components/publish/Deploy.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spug_web/src/components/publish/Deploy.vue b/spug_web/src/components/publish/Deploy.vue index 829b60e..ae34ae5 100644 --- a/spug_web/src/components/publish/Deploy.vue +++ b/spug_web/src/components/publish/Deploy.vue @@ -270,7 +270,7 @@ this.dialogLoading = true; let host_ids = this.$refs['tree'].getCheckedKeys(); this.$http.post(`/api/deploy/apps/${this.app_id}/bind/hosts`, { - ids: host_ids, + ids: host_ids.filter(x => x), env_id: this.env_id }).then(() => { this.fetchEnabledHosts(); @@ -537,4 +537,4 @@ // this.fetchEnabledHosts() } } - \ No newline at end of file +