diff --git a/src/components/question-list/index.jsx b/src/components/question-list/index.jsx
index 0bf24e5..4de0cb4 100644
--- a/src/components/question-list/index.jsx
+++ b/src/components/question-list/index.jsx
@@ -32,7 +32,7 @@ const QuestionList = (props) => {
{
title:
题目
(当前
- {100}
+ {props.total || 0}
道题)
,
key: "questionNo",
diff --git a/src/views/question-bank/index.tsx b/src/views/question-bank/index.tsx
index 574dcb4..36483c1 100644
--- a/src/views/question-bank/index.tsx
+++ b/src/views/question-bank/index.tsx
@@ -79,7 +79,6 @@ const QuestionBank = () => {
url: apiName.getSubjectPage,
data: params
}).then(res => {
- console.log(res)
setTotal(res.data.total)
setQuestionList(res.data.result)
})