|
@@ -1,11 +1,13 @@
|
|
|
import { ProList } from "@ant-design/pro-components";
|
|
import { ProList } from "@ant-design/pro-components";
|
|
|
-import { Space } from "antd";
|
|
|
|
|
|
|
+import { Space, Typography } from "antd";
|
|
|
|
|
|
|
|
import { get } from "../../request";
|
|
import { get } from "../../request";
|
|
|
import User from "../auth/User";
|
|
import User from "../auth/User";
|
|
|
import { IUser } from "../auth/UserName";
|
|
import { IUser } from "../auth/UserName";
|
|
|
import TimeShow from "../general/TimeShow";
|
|
import TimeShow from "../general/TimeShow";
|
|
|
|
|
|
|
|
|
|
+const { Paragraph } = Typography;
|
|
|
|
|
+
|
|
|
export interface ISentHistoryData {
|
|
export interface ISentHistoryData {
|
|
|
id: string;
|
|
id: string;
|
|
|
sent_uid: string;
|
|
sent_uid: string;
|
|
@@ -83,7 +85,13 @@ const SentHistoryWidget = ({ sentId }: IWidget) => {
|
|
|
}}
|
|
}}
|
|
|
metas={{
|
|
metas={{
|
|
|
title: {
|
|
title: {
|
|
|
- dataIndex: "content",
|
|
|
|
|
|
|
+ render: (text, row, index, action) => {
|
|
|
|
|
+ return (
|
|
|
|
|
+ <Paragraph copyable={{ text: row.content }}>
|
|
|
|
|
+ {row.content}
|
|
|
|
|
+ </Paragraph>
|
|
|
|
|
+ );
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
avatar: {
|
|
avatar: {
|
|
|
dataIndex: "image",
|
|
dataIndex: "image",
|