Commit 38651358 by zhaochengxiang

bug fix

parent 6c19805a
......@@ -163,9 +163,9 @@ const FC = (props) => {
}}
renderItem={(item) => (
<List.Item
actions={item.currentUser?[<a key="list-delete" onClick={() => {
onDeleteClick(item)
}}>删除</a>]:null}
// actions={item.currentUser?[<a key="list-delete" onClick={() => {
// onDeleteClick(item)
// }}>删除</a>]:null}
>
<List.Item.Meta
avatar={
......
......@@ -384,7 +384,7 @@ const ModelTable = (props) => {
const ids = []
for (const key in resoureTagMap) {
for (const item of resoureTagMap[key]) {
const index = (tagSelectOptions??[]).filter(_item => item.tagId === _item.id)
const index = (tagSelectOptions??[]).findIndex(_item => item.tagId === _item.id)
if (index !== -1) {
ids.push(key)
break
......
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