Commit fc95434e by zhaochengxiang

bug fix

parent bb826719
...@@ -199,7 +199,7 @@ const FC = (props) => { ...@@ -199,7 +199,7 @@ const FC = (props) => {
width: 120, width: 120,
fixed: 'right', fixed: 'right',
render: (text, record) => { render: (text, record) => {
const index = (draftStates??[]).findIndex(item => item.id === text) const index = (draftStates??[]).findIndex(item => item.state === text)
if (index !== -1) { if (index !== -1) {
return draftStates[index].desc return draftStates[index].desc
......
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