From 9322d1b71b0b6f3489c74f317922cb8e03a38de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E6=B0=B4=E6=B5=AE=E5=B0=98?= <18510549872@163.comm> Date: Wed, 18 Oct 2023 01:50:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E9=A2=98=E7=9B=AE?= =?UTF-8?q?=E6=80=BB=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/question-list/index.jsx | 2 +- src/views/question-bank/index.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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) })