diff --git a/public/react/src/modules/message/js/MessagePrivate.js b/public/react/src/modules/message/js/MessagePrivate.js index 6009b4705..79be7705c 100644 --- a/public/react/src/modules/message/js/MessagePrivate.js +++ b/public/react/src/modules/message/js/MessagePrivate.js @@ -4,6 +4,7 @@ import { Pagination, } from "antd"; import axios from 'axios'; +import moment from 'moment'; import {getImageUrl} from 'educoder'; import "../css/messagemy.css" import WriteaprivateletterModal from '../messagemodal/WriteaprivateletterModal'; @@ -102,7 +103,7 @@ class MessagePrivate extends Component{

全部私信 - this.okmodalsType()}>写私信 + this.okmodalsType()}>写私信

@@ -124,7 +125,7 @@ class MessagePrivate extends Component{ this.myCome(item)} className="mr20 private_message_a">{item.target.name} 与你的私信 [{item.message_count}{"条"}] - {item.send_time} + {moment(item.send_time).fromNow()}