From 8ca03ed7ac858e803696eb2e1c6f2508788742aa Mon Sep 17 00:00:00 2001 From: sexygoat <1538832180@qq.com> Date: Thu, 23 Apr 2026 15:52:18 +0800 Subject: [PATCH] fix: bug --- src/components/core/tables/ArtTable.vue | 6 +- .../components/BasicInfoCard.vue | 14 ++- .../withdrawal-approval/index.vue | 87 +++++++++++++------ src/views/finance/refund/index.vue | 10 +-- 4 files changed, 80 insertions(+), 37 deletions(-) diff --git a/src/components/core/tables/ArtTable.vue b/src/components/core/tables/ArtTable.vue index d43fb40..7fcd6c7 100644 --- a/src/components/core/tables/ArtTable.vue +++ b/src/components/core/tables/ArtTable.vue @@ -371,8 +371,8 @@ ) } - // 如果操作数量 <= 2,直接显示所有按钮 - if (actionList.length <= 2) { + // 如果操作数量 <= 3,直接显示所有按钮 + if (actionList.length <= 3) { return h( 'div', { style: 'display: flex; gap: 8px;' }, @@ -390,7 +390,7 @@ ) } - // 如果操作数量 > 2,显示第一个 + 更多下拉菜单 + // 如果操作数量 > 3,显示第一个 + 更多下拉菜单 const firstAction = actionList[0] const moreActions = actionList.slice(1) diff --git a/src/views/asset-management/asset-information/components/BasicInfoCard.vue b/src/views/asset-management/asset-information/components/BasicInfoCard.vue index 051b100..92e072c 100644 --- a/src/views/asset-management/asset-information/components/BasicInfoCard.vue +++ b/src/views/asset-management/asset-information/components/BasicInfoCard.vue @@ -369,10 +369,20 @@ class="card-operations" style="margin-top: 16px; text-align: right" > - + 启用此卡 - + 停用此卡 diff --git a/src/views/commission-management/withdrawal-approval/index.vue b/src/views/commission-management/withdrawal-approval/index.vue index beda355..6821850 100644 --- a/src/views/commission-management/withdrawal-approval/index.vue +++ b/src/views/commission-management/withdrawal-approval/index.vue @@ -5,7 +5,8 @@ @@ -73,7 +74,7 @@