fix: add color for action log type options
This commit is contained in:
parent
55543fb46e
commit
349c9030d2
@ -56,9 +56,9 @@ export default {
|
|||||||
title: '操作类型',
|
title: '操作类型',
|
||||||
filterable: true,
|
filterable: true,
|
||||||
dataSource: [
|
dataSource: [
|
||||||
{ value: LOG_TYPE_CREATE, label: '新增' },
|
{ value: LOG_TYPE_CREATE, label: '新增', color: 'blue' },
|
||||||
{ value: LOG_TYPE_UPDATE, label: '更新' },
|
{ value: LOG_TYPE_UPDATE, label: '更新', color: 'volcano' },
|
||||||
{ value: LOG_TYPE_DESTROY, label: '删除' },
|
{ value: LOG_TYPE_DESTROY, label: '删除', color: 'magenta' },
|
||||||
],
|
],
|
||||||
component: {
|
component: {
|
||||||
showInTable: true,
|
showInTable: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user