From e4313d30eb1eeb643790444a53c5b51f3a955f3d Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Fri, 10 Apr 2020 19:30:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B9=E7=9B=AE=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E7=9A=84=E6=90=9C=E7=B4=A2=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 19 +++++++++---------- src/forge/Main/Index.js | 6 +++--- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4827abc2a..5676fdd1b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -30,8 +30,8 @@ - - + + @@ -43,7 +43,6 @@ - topWrapper topWrapper_btn renderJournalList img_fork @@ -73,6 +72,7 @@ NaV 创建 search + changeSearchValue 任务 @@ -259,16 +259,15 @@ - + - - - + @@ -283,7 +282,7 @@ - + @@ -789,8 +788,8 @@ - - + + diff --git a/src/forge/Main/Index.js b/src/forge/Main/Index.js index 5632b1f93..26cb9a07d 100644 --- a/src/forge/Main/Index.js +++ b/src/forge/Main/Index.js @@ -157,15 +157,15 @@ class Index extends Component{ page:1, search:value, isSpin:true, - project_type:undefined + project_type:undefined, + sort: "updated_on" }) const { limit , sort , category_id } = this.state; this.getListData(1 ,limit, value , sort , undefined,category_id); } changeSearchValue=(e)=>{ this.setState({ - search:e.target.value, - sort_by: "updated_on" + search:e.target.value }) } // 翻页