From 11ea1ab1537c39b5ad02cf847b3b9efd3633aba3 Mon Sep 17 00:00:00 2001 From: teukkk Date: Fri, 19 Apr 2024 11:16:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=94=A8=E4=BE=8B=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=A4=9A=E9=80=89=E6=A1=86=E4=B8=8B=E6=8B=89=E6=A1=86?= =?UTF-8?q?=E7=AD=89=E4=BC=9A=E6=89=93=E5=BC=80=E6=8A=BD=E5=B1=89=E7=9A=84?= =?UTF-8?q?=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/pure/ms-table/base-table.vue | 5 ++++- .../api-test/management/components/import.vue | 15 +++++++-------- .../components/caseTable.vue | 5 ++++- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/pure/ms-table/base-table.vue b/frontend/src/components/pure/ms-table/base-table.vue index 76fe075c02..0bc290e588 100644 --- a/frontend/src/components/pure/ms-table/base-table.vue +++ b/frontend/src/components/pure/ms-table/base-table.vue @@ -44,11 +44,13 @@
@@ -145,6 +147,7 @@ ref="currentInputRef" v-model="record[item.dataIndex as string]" :max-length="255" + @click.stop @blur="handleEditInputBlur(record, item.dataIndex as string, true)" @keydown.enter="handleEditInputBlur(record, item.dataIndex as string, false)" /> @@ -172,7 +175,7 @@ class="ml-2 cursor-pointer" :class="{ 'ms-table-edit-active': editActiveKey === rowIndex }" type="icon-icon_edit_outlined" - @click="handleEdit(item.dataIndex as string, rowIndex, record)" + @click.stop="handleEdit(item.dataIndex as string, rowIndex, record)" />
diff --git a/frontend/src/views/api-test/management/components/import.vue b/frontend/src/views/api-test/management/components/import.vue index b4a430f828..5bef6c94a4 100644 --- a/frontend/src/views/api-test/management/components/import.vue +++ b/frontend/src/views/api-test/management/components/import.vue @@ -122,14 +122,9 @@ @@ -651,6 +646,10 @@ return false; } } + + function openLink() { + window.open('https://converter.swagger.io/', '_blank'); + }