Commit 77bee8c9 by zhaochengxiang

修改授权图标

parent d2bbf3d1
......@@ -5,6 +5,7 @@ import { paginate } from '@/utils/pagination';
import { TableModel } from './AssetList';
import { CurrentUser } from '@/models/user';
import classNames from 'classnames';
import { CheckOutlined } from '@ant-design/icons';
import styles from '../style.less';
// import { GetColumns } from '@/utils/ScrollableTable';
......@@ -16,7 +17,7 @@ const despColumns = [
{
key: 'privileged',
title: '已授权',
render: (val: any) => (val.privileged === true ? <Icon type="key" /> : <span></span>),
render: (val: any) => (val.privileged === true ? <CheckOutlined className='text-primary' /> : <span></span>),
},
{ key: 'ordinalPosition', dataIndex: 'ordinalPosition', title: '序号' },
{ key: 'name', dataIndex: 'name', title: '名称' },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment