From 8c7652a5a6d4bd2a3091b5b518fbd56aeec4bb12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 31 Jul 2019 21:46:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/message/js/MessagePrivate.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/message/js/MessagePrivate.js b/public/react/src/modules/message/js/MessagePrivate.js index 8885d101b..fed52c76d 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'; @@ -99,7 +100,7 @@ class MessagePrivate extends Component{
全部私信 - this.okmodalsType()}>写私信 + this.okmodalsType()}>写私信
- this.smyJump()} className="mr20 private_message_a">{item.target.name} + this.smyJump()} className="mr20 private_message_a">{item.target.name} 与你的私信 [{item.message_count}{"条"}] - {item.send_time} + {moment(item.send_time).fromNow()}