From e3ff332d27a52f145999a34e4a07a280099d63b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Thu, 4 Jul 2019 13:57:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E5=85=B3=E5=8A=9F=E8=83=BD=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/Resource/index.js | 13 ++++++------- .../tpm/shixunchild/Challenges/Challenges.js | 11 ++++++++--- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/public/react/src/modules/courses/Resource/index.js b/public/react/src/modules/courses/Resource/index.js index 8ce285ae1..f26d97ad3 100644 --- a/public/react/src/modules/courses/Resource/index.js +++ b/public/react/src/modules/courses/Resource/index.js @@ -176,8 +176,8 @@ class Fileslists extends Component{ let list=result.data.data; this.setState({ total_count:list.total_count, - public_count:list.public_count, - private_count:list.private_count, + publish_count:list.publish_count, + unpublish_count:list.unpublish_count, files:list.files, filesId:list.id, name:list.name, @@ -625,13 +625,12 @@ class Fileslists extends Component{ }) } render(){ - let { searchValue, checkBoxValues, checkAllValue, total_count, - public_count, - private_count, + publish_count, + unpublish_count, files, sorttype, Modalstype, @@ -766,8 +765,8 @@ class Fileslists extends Component{ secondRowLeft={