♻️ refactor: 现在计划删除
This commit is contained in:
parent
0299306262
commit
d15c994b37
|
@ -761,18 +761,31 @@ export default class acclist extends React.Component {
|
||||||
return <span className="grid-link disabled">更多</span>
|
return <span className="grid-link disabled">更多</span>
|
||||||
}
|
}
|
||||||
case 4:
|
case 4:
|
||||||
return (
|
if (rowData.order_num === 0) {
|
||||||
<span
|
return (
|
||||||
className="grid-link"
|
<span
|
||||||
style={{
|
className="grid-link"
|
||||||
color: "red",
|
style={{
|
||||||
paddingRight: 0
|
color: "red",
|
||||||
}}
|
paddingRight: 0
|
||||||
onClick={() => this.menuItemClick(4, rowData)}
|
}}
|
||||||
>
|
onClick={() => this.menuItemClick(4, rowData)}
|
||||||
删除
|
>
|
||||||
</span>
|
删除
|
||||||
)
|
</span>
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
return (
|
||||||
|
<span
|
||||||
|
className="grid-link disabled"
|
||||||
|
style={{
|
||||||
|
paddingRight: 0
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
删除
|
||||||
|
</span>
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue