This commit is contained in:
yuping
2022-12-08 13:57:50 +08:00
parent 5ac44cef02
commit 7d2c3d4fd9

View File

@@ -217,7 +217,7 @@ export default {
key: "status", key: "status",
align: "center", align: "center",
customRender: ({ record: { status } }) => ( customRender: ({ record: { status } }) => (
<div>{status == -2 ? "未通过" : "已通过"}</div> <div>{{ '2': "审核通过", "-5": "未通过" }[status + ""] || '审核通过'}</div>
), ),
}, },
{ {
@@ -286,7 +286,7 @@ export default {
key: "status", key: "status",
align: "center", align: "center",
customRender: ({ record: { status } }) => ( customRender: ({ record: { status } }) => (
<div>{{ 2: "审核通过", "-2": "审核拒绝" }[status + ""]}</div> <div>{{ '2': "审核通过", "-5": "审核拒绝" }[status + ""] || '审核通过'}</div>
), ),
}, },