Commit d22c5654 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化

parent 852fcaa9
......@@ -88,10 +88,12 @@ export default {
{
title: "密钥",
dataIndex: "privatKey",
ellipsis: true,
},
{
title: "渠道密钥",
dataIndex: "key",
ellipsis: true,
},
{
title: "机具编码",
......@@ -100,6 +102,7 @@ export default {
{
title: "机具密钥",
dataIndex: "sm4key",
ellipsis: true,
},
{
title: "排号认证码",
......@@ -112,18 +115,19 @@ export default {
{
title: "统一社会信用代码",
dataIndex: "orgCode",
ellipsis: true,
},
{
title: "状态",
dataIndex: "enabled",
customRender: (text) => {
if (text === 1) {
return <a-tag color="green">启用</a-tag>;
} else if (text === 0) {
return <a-tag color="red">停用</a-tag>;
}
},
},
// {
// title: "状态",
// dataIndex: "enabled",
// customRender: (text) => {
// if (text === 1) {
// return <a-tag color="green">启用</a-tag>;
// } else if (text === 0) {
// return <a-tag color="red">停用</a-tag>;
// }
// },
// },
{
title: "操作",
width: "120px",
......
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