From ac307b72ad25d51dfb84757282cf50c8c593f1df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=81=95=E7=91=9E=E7=8E=9B=E7=9A=84=E7=9A=87=E5=B8=9D?=
<2075125282@qq.com>
Date: Fri, 2 May 2025 19:08:37 +0800
Subject: [PATCH] feat(components): refactoring button configuration,
supporting the merging and sorting of custom and preset buttons.
---
.../advanced/table-header-operation.vue | 249 +++++++++++++++---
1 file changed, 211 insertions(+), 38 deletions(-)
diff --git a/src/components/advanced/table-header-operation.vue b/src/components/advanced/table-header-operation.vue
index 7ca287fd..c6b5f9a8 100644
--- a/src/components/advanced/table-header-operation.vue
+++ b/src/components/advanced/table-header-operation.vue
@@ -1,40 +1,193 @@
@@ -42,33 +195,53 @@ function refresh() {
-
-
-
-
- {{ $t('common.add') }}
-
-
-
-
-
-
-
- {{ $t('common.batchDelete') }}
-
-
- {{ $t('common.confirmDelete') }}
-
-
-
-
-
+
+
+
+
+
+
+
+
+ {{ getButtonText(button) }}
+
+
+ {{ button.confirmText }}
+
+
+
+
+
+
+
+ {{ getButtonText(button) }}
+
- {{ $t('common.refresh') }}
-
+
+
-
-