Commit 38651358 by zhaochengxiang

bug fix

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