From b522a2f5276380d764a428d551f6cf607bc09132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Thu, 2 Jan 2020 14:59:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/testpaper/Testpaperlibrary.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/testpaper/Testpaperlibrary.js b/public/react/src/modules/testpaper/Testpaperlibrary.js index b36ffd5b7..af80cde75 100644 --- a/public/react/src/modules/testpaper/Testpaperlibrary.js +++ b/public/react/src/modules/testpaper/Testpaperlibrary.js @@ -133,7 +133,9 @@ class Testpaperlibrary extends Component { callback = (key) => { this.setState({ defaultActiveKey: key, - difficulty:null + difficulty:null, + keywords:null, + page:1, }) var data={ page:1, @@ -141,7 +143,7 @@ class Testpaperlibrary extends Component { sub_discipline_id:this.state.sub_discipline_id, tag_discipline_id:this.state.tag_discipline_id, public: key, - difficulty: this.state.difficulty, + difficulty:null, keywords: null, per_page:10, }