From 349c9030d2214561b9824ec43f6be44a37f984df Mon Sep 17 00:00:00 2001 From: chenos Date: Mon, 22 Mar 2021 16:56:40 +0800 Subject: [PATCH] fix: add color for action log type options --- packages/plugin-action-logs/src/collections/action_logs.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/plugin-action-logs/src/collections/action_logs.ts b/packages/plugin-action-logs/src/collections/action_logs.ts index 4b355bf75..7db60fbc7 100644 --- a/packages/plugin-action-logs/src/collections/action_logs.ts +++ b/packages/plugin-action-logs/src/collections/action_logs.ts @@ -56,9 +56,9 @@ export default { title: '操作类型', filterable: true, dataSource: [ - { value: LOG_TYPE_CREATE, label: '新增' }, - { value: LOG_TYPE_UPDATE, label: '更新' }, - { value: LOG_TYPE_DESTROY, label: '删除' }, + { value: LOG_TYPE_CREATE, label: '新增', color: 'blue' }, + { value: LOG_TYPE_UPDATE, label: '更新', color: 'volcano' }, + { value: LOG_TYPE_DESTROY, label: '删除', color: 'magenta' }, ], component: { showInTable: true,