forked from Gitlink/forgeplus-react
parent
abf52855e5
commit
493a4081d5
|
|
@ -48,7 +48,7 @@ function PointsDoc({ visible , onCancel , onSure , type , username , choosed , h
|
|||
let res = await getMyTopArticle(member.zoneId);
|
||||
if(res && res.data.code === 200){
|
||||
setCurrentRow(res.data.data);
|
||||
let newId = null;
|
||||
let newId = null;
|
||||
if(res.data.data) {
|
||||
newId = res.data.data.docId;
|
||||
}
|
||||
|
|
@ -68,7 +68,6 @@ function PointsDoc({ visible , onCancel , onSure , type , username , choosed , h
|
|||
setList(rows);
|
||||
}else{
|
||||
setList([]);
|
||||
setCurrentRow(null);
|
||||
}
|
||||
setTotal(result.data.total);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue