From 4af22aee1c8c0e564e2d5a9c380794db0100edd1 Mon Sep 17 00:00:00 2001 From: "song.tianyang" Date: Wed, 27 Jan 2021 17:13:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE-?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=8D=E5=88=B6=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 环境配置-增加复制按钮 --- .../api/test/components/ApiHostTable.vue | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/test/components/ApiHostTable.vue b/frontend/src/business/components/api/test/components/ApiHostTable.vue index 884c3ef87b..ea64266f79 100644 --- a/frontend/src/business/components/api/test/components/ApiHostTable.vue +++ b/frontend/src/business/components/api/test/components/ApiHostTable.vue @@ -35,8 +35,8 @@ - 添加 - + {{$t("commons.add")}} + {{$t("commons.copy")}} @@ -68,6 +68,16 @@ this.$emit('change', this.hostTable); }, add: function (r) { + let row = { + ip: '', + domain: '', + status: 'edit', + annotation: '', + uuid: this.uuid(), + } + this.hostTable.push(row); + }, + copy: function (r) { let row = { ip: '', domain: '',