diff --git a/public/react/src/App.js b/public/react/src/App.js
index a0c275f33..c3d35e4dc 100644
--- a/public/react/src/App.js
+++ b/public/react/src/App.js
@@ -233,7 +233,7 @@ const ProjectPackages=Loadable({
const Messagerouting= Loadable({
loader: () => import('./modules/message/js/Messagerouting'),
loading: Loading,
-})
+});
class App extends Component {
constructor(props) {
super(props)
diff --git a/public/react/src/modules/message/js/MessagChat.js b/public/react/src/modules/message/js/MessagChat.js
index 010116073..e32ccd353 100644
--- a/public/react/src/modules/message/js/MessagChat.js
+++ b/public/react/src/modules/message/js/MessagChat.js
@@ -26,7 +26,6 @@ class MessagChat extends Component{
this.getdata(1);
console.log("MessagChat111111");
console.log(this.props);
- console.log(this.state);
this.setState({
myyslusers:this.props.myysluser
})
diff --git a/public/react/src/modules/message/js/Messagerouting.js b/public/react/src/modules/message/js/Messagerouting.js
index 1a37f861d..0eab00a8a 100644
--- a/public/react/src/modules/message/js/Messagerouting.js
+++ b/public/react/src/modules/message/js/Messagerouting.js
@@ -95,11 +95,11 @@ class Messagerouting extends Component{
});
this.Messageprivatemessageunreadmessage(this.props.current_user.user_id);
if(value===1){
- this.props.history.replace(`/message/info/${this.props.current_user.user_id}?tag=1`);
+ this.props.history.replace(`/message/${this.props.current_user.user_id}/user_tidings`);
return
}
if(value===2){
- this.props.history.replace(`/message/letter/${this.props.current_user.user_id}?tag=2`);
+ this.props.history.replace(`/message/${this.props.current_user.user_id}/private_messages`);
return;
}
};
@@ -126,10 +126,10 @@ class Messagerouting extends Component{
routing:i,
});
if(i===1){
- this.props.history.replace(`/message/info/${this.props.current_user.user_id}?tag=1`);
+ this.props.history.replace(`/message/${this.props.current_user.user_id}/user_tidings`);
}
if(i===2){
- this.props.history.replace(`/message/letter/${this.props.current_user.user_id}?tag=2`);
+ this.props.history.replace(`/message/${this.props.current_user.user_id}/private_messages`);
}
}else {
@@ -138,7 +138,7 @@ class Messagerouting extends Component{
myysluser:item,
});
console.log("22222222222");
- this.props.history.replace(`/message/letters/${this.props.current_user.user_id}?tag=3`);
+ this.props.history.replace(`/message/${this.props.current_user.user_id}/message_detail`);
}
};
@@ -185,25 +185,26 @@ class Messagerouting extends Component{
{/*{routing===3?this.Message2()} Modifyur={(i)=>this.Modifyur(i)}>:""}*/}
- {/*/!*消息自路由*!/*/}
- (this.Message2()}>)
+ (props) => (this.Message2()}>)
}
>
- {/*/!*私信*!/*/}
- (this.Message2()} Modifyur={(i,item)=>this.Modifyur(i,item)}> )
+ (props) => (this.Message2()} Modifyur={(i,item)=>this.Modifyur(i,item)}> )
}
>
- {/*/!*私信聊天页面*!/*/}
- (this.Message2()} Modifyur={(i)=>this.Modifyur(i)}>)
+ (props) => (this.Message2()} Modifyur={(i)=>this.Modifyur(i)}>)
}
>
+