From cb81255694abcbb64f46ba9910059c81627afe35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Tue, 7 Jan 2020 17:38:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=98=E5=BA=93=E7=BB=A7=E7=BB=AD=E9=80=89?= =?UTF-8?q?=E9=A2=98=20=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/question/Paperreview.js | 2 ++ public/react/src/modules/testpaper/Paperlibraryeditid.js | 1 + 2 files changed, 3 insertions(+) diff --git a/public/react/src/modules/question/Paperreview.js b/public/react/src/modules/question/Paperreview.js index 67495dae3..b65127c8d 100644 --- a/public/react/src/modules/question/Paperreview.js +++ b/public/react/src/modules/question/Paperreview.js @@ -261,6 +261,8 @@ class Paperreview extends Component { this.setState({ newmyshixunmodelbool:bool }) + var data = {} + this.getdata(data); } render() { let {page, limit, count, Headertop, visible, placement, modalsType, item_type,Cohetepaperbool,newmyshixunmodelbool} = this.state; diff --git a/public/react/src/modules/testpaper/Paperlibraryeditid.js b/public/react/src/modules/testpaper/Paperlibraryeditid.js index 8e9573514..1b3ee95ef 100644 --- a/public/react/src/modules/testpaper/Paperlibraryeditid.js +++ b/public/react/src/modules/testpaper/Paperlibraryeditid.js @@ -202,6 +202,7 @@ class Paperlibraryeditid extends Component { this.setState({ newmyshixunmodelbool:bool }) + this.getdata(); } render() {