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 }) } // 翻页