From 8af8ed143d6e2eed12c73e8c92568a301a081237 Mon Sep 17 00:00:00 2001 From: Sisyphus Date: Fri, 10 Jul 2026 10:54:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(F006-W18):=20=E7=94=B3=E8=AF=B7APIKey?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E8=A1=A8=E6=A0=BC=E7=BB=86=E8=8A=82=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 列名 客户名 → 公司名称 (Step1 + Step3 两处) 2. selection 选择框居中 (cell text-align center + padding 0) 3. 列宽重分配: 公司名称 min-width 200 左对齐, 联系人/电话居中 4. 表格圆角修复: 加 rr-apply-table class, border-radius 8px + overflow hidden --- src/modules/openapi/ApplyApiKeyDialog.vue | 34 +++++++++++++++++------ 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/src/modules/openapi/ApplyApiKeyDialog.vue b/src/modules/openapi/ApplyApiKeyDialog.vue index 8b24c8c..eef4fa1 100644 --- a/src/modules/openapi/ApplyApiKeyDialog.vue +++ b/src/modules/openapi/ApplyApiKeyDialog.vue @@ -129,7 +129,6 @@ async function submit() { const res = await httpPost('/sys/openapi/app/apply', payload) result.value = Array.isArray(res) ? res : [] ElMessage.success(`已为 ${result.value.length} 个客户生成 APIKey`) - emit('refresh') } catch (e: any) { ElMessage.error(e?.msg || e?.message || '申请失败') } finally { @@ -137,7 +136,7 @@ async function submit() { } } -function onClose() { updateVisible(false) } +function onClose() { updateVisible(false); if (result.value) emit("refresh") } async function copySecret(text: string) { try { @@ -232,12 +231,13 @@ function notifyContact() { :row-style="{ height: '36px' }" :cell-style="{ padding: '4px 8px', fontSize: '12.5px' }" :header-cell-style="{ padding: '6px 8px', fontSize: '12px', height: '32px', background: 'var(--surface-2)' }" + class="rr-apply-table" @selection-change="onSelectionChange" > - - - - + + + + @@ -330,8 +330,8 @@ function notifyContact() { 请立即复制 connectCode 和 appSecret!关弹窗后无法再次查看

已为 {{ result.length }} 个客户生成 APIKey:

- - + +