mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-18 02:14:32 +08:00
定时任务,环境变量添加状态筛选
This commit is contained in:
Vendored
+11
@@ -150,6 +150,17 @@ const Env = ({ headerStyle, isPhone, theme }: any) => {
|
||||
dataIndex: 'status',
|
||||
align: 'center' as const,
|
||||
width: 60,
|
||||
filters: [
|
||||
{
|
||||
text: '已启用',
|
||||
value: 0,
|
||||
},
|
||||
{
|
||||
text: '已禁用',
|
||||
value: 1,
|
||||
},
|
||||
],
|
||||
onFilter: (value: number, record: any) => record.status === value,
|
||||
render: (text: string, record: any, index: number) => {
|
||||
return (
|
||||
<Space size="middle" style={{ cursor: 'text' }}>
|
||||
|
||||
Reference in New Issue
Block a user