From a5bb1b5a12b86ed78e5bae22e28ad1aca6d3a6f2 Mon Sep 17 00:00:00 2001
From: luckydog-sunny <943891935@qq.com>
Date: Sun, 9 Jun 2024 20:51:41 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E6=93=8D=E4=BD=9C?=
=?UTF-8?q?=E6=8C=89=E9=92=AE=E6=94=AF=E6=8C=81=E8=87=AA=E5=AE=9A=E4=B9=89?=
=?UTF-8?q?=E9=A2=9C=E8=89=B2=20(#178)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/ma-crud/components/column.vue | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/components/ma-crud/components/column.vue b/src/components/ma-crud/components/column.vue
index 74190979..54318836 100644
--- a/src/components/ma-crud/components/column.vue
+++ b/src/components/ma-crud/components/column.vue
@@ -69,6 +69,8 @@
v-auth="options.see.auth || []"
v-role="options.see.role || []"
type="primary"
+ :status="options.see.status || 'success'"
+ :style="{ color: options.see.color || '' }"
:disabled="(isFunction(options.see.disabled) ? options.see.disabled(record) : options.see.disabled)"
@click="seeAction(record)"
> {{ options.see.text || '查看' }}
@@ -77,6 +79,8 @@
v-auth="options.edit.auth || []"
v-role="options.edit.role || []"
type="primary"
+ :status="options.edit.status || 'normal'"
+ :style="{ color: options.edit.color || '' }"
:disabled="(isFunction(options.edit.disabled) ? options.edit.disabled(record) : options.edit.disabled)"
@click="editAction(record)"
>
@@ -102,6 +106,8 @@
>