From 0da53b9b6af976e656fe0aa4472d1d69ac73ef01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Mon, 15 Jul 2019 16:23:04 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=97=E5=8C=85=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/react/src/App.js | 2 +-
.../projectPackages/PackageIndex/PackageConcent.js | 1 +
.../projectPackages/PackageIndex/PackageIndex.js | 2 +-
.../PackageIndexNEITaskDetails.js | 1 +
.../PackageIndexNEIBannerConcent.js | 2 +-
.../PackageIndexNewandEdit/PackageIndexNEISubmit.js | 3 +--
.../PackageIndexNewandEditIndex.js | 3 ++-
.../modules/projectPackages/ProjectPackageIndex.js | 12 ++++++++----
8 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/public/react/src/App.js b/public/react/src/App.js
index 4e643cd8..0b4e34f0 100644
--- a/public/react/src/App.js
+++ b/public/react/src/App.js
@@ -225,7 +225,7 @@ class App extends Component {
*/}
{/*众包*/}
-
+
diff --git a/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js b/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js
index 2abbf3a4..1764de1f 100644
--- a/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js
+++ b/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js
@@ -51,6 +51,7 @@ class PackageConcent extends Component {
//否 string 排序,默认最新, ‘recently’, ‘price’
// 否 string 类型, front,backend,mobile,database, cloud_compute_and_big_data,devops_and_test,ai,other
componentDidMount() {
+ window.document.title = '交流问答'
let {category,keyword,sort_by,sort_direction,page}=this.state
this.setdatas(category,keyword,sort_by,sort_direction,page)
diff --git a/public/react/src/modules/projectPackages/PackageIndex/PackageIndex.js b/public/react/src/modules/projectPackages/PackageIndex/PackageIndex.js
index 08487613..594d8765 100644
--- a/public/react/src/modules/projectPackages/PackageIndex/PackageIndex.js
+++ b/public/react/src/modules/projectPackages/PackageIndex/PackageIndex.js
@@ -11,7 +11,7 @@ class PackageIndex extends Component{
}
componentDidMount(){
-
+ window.document.title = '交流问答'
}
render() {
diff --git a/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js b/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js
index ebd532c9..63ae5a70 100644
--- a/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js
+++ b/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js
@@ -49,6 +49,7 @@ class PackageIndexNEITaskDetails extends Component {
componentDidMount() {
this.getdatas()
+ window.document.title = '交流问答'
}
getdatas=()=>{
diff --git a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js
index 17adfbac..0f5b62f6 100644
--- a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js
+++ b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js
@@ -75,7 +75,7 @@ class PackageIndexNEIBannerConcent extends Component {
}
componentDidMount() {
-
+ window.document.title = '交流问答'
if(this.props.match.params.id!=undefined){
let url=`/api/v1/project_packages/${this.props.match.params.id}.json`
diff --git a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEISubmit.js b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEISubmit.js
index dc702068..5cd36e7b 100644
--- a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEISubmit.js
+++ b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEISubmit.js
@@ -10,8 +10,7 @@ class PackageIndexNEISubmit extends Component {
}
}
componentDidMount() {
-
-
+ window.document.title = '交流问答'
}
setageload=(sum)=>{
if(sum===undefined){
diff --git a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNewandEditIndex.js b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNewandEditIndex.js
index 1059bc34..daab53e4 100644
--- a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNewandEditIndex.js
+++ b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNewandEditIndex.js
@@ -18,8 +18,9 @@ class PackageIndexNewandEditIndex extends Component{
}
componentDidMount(){
-
+ window.document.title = '交流问答'
}
+
setPublicationfun=(ids)=>{
this.setState({
setPublication:true,
diff --git a/public/react/src/modules/projectPackages/ProjectPackageIndex.js b/public/react/src/modules/projectPackages/ProjectPackageIndex.js
index 73dd1719..f309664f 100644
--- a/public/react/src/modules/projectPackages/ProjectPackageIndex.js
+++ b/public/react/src/modules/projectPackages/ProjectPackageIndex.js
@@ -31,6 +31,10 @@ class ProjectPackageIndex extends Component {
super(props)
}
+ componentDidMount(){
+ window.document.title = '交流问答'
+ }
+
render() {
return (
@@ -39,25 +43,25 @@ class ProjectPackageIndex extends Component {
{/*众包首页*/}
- ()
}
>
- ()
}
>
- ()
}
>
- ()
}