From 8dfe7b5c21538963e4cfecfb0b35b15b84f543d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 13 Mar 2020 11:25:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/courses/signin/teacher/Teachers_signin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/signin/teacher/Teachers_signin.js b/public/react/src/modules/courses/signin/teacher/Teachers_signin.js index 1cb3b7f79..a2c3e8bb7 100644 --- a/public/react/src/modules/courses/signin/teacher/Teachers_signin.js +++ b/public/react/src/modules/courses/signin/teacher/Teachers_signin.js @@ -40,7 +40,7 @@ class Students_signin extends Component{ callback=(key)=> { console.log(key); this.setState({ - key: key, + defaultActiveKey: key, page:1, limit:5 }) @@ -94,7 +94,7 @@ class Students_signin extends Component{ this.setState({ page: pageNumber, }) - + let data={ key:this.state.defaultActiveKey, page:pageNumber,