Commit 026d87c6 by archer

fix: refresh

parent 2a45fe52
...@@ -154,7 +154,7 @@ const DataCard = ({ kbId }: { kbId: string }) => { ...@@ -154,7 +154,7 @@ const DataCard = ({ kbId }: { kbId: string }) => {
mr={[2, 4]} mr={[2, 4]}
size={'sm'} size={'sm'}
onClick={() => { onClick={() => {
refetchData(pageNum); getData(pageNum);
getTrainingData({ kbId, init: true }); getTrainingData({ kbId, init: true });
}} }}
/> />
......
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 sign in to comment