diff --git a/src/forge/Information/Component/pointsDoc.jsx b/src/forge/Information/Component/pointsDoc.jsx index 2069525ca..a7797ed2f 100644 --- a/src/forge/Information/Component/pointsDoc.jsx +++ b/src/forge/Information/Component/pointsDoc.jsx @@ -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); }