|
@@ -2,7 +2,7 @@ import { useParams } from "react-router-dom";
|
|
|
import { ProTable } from "@ant-design/pro-components";
|
|
import { ProTable } from "@ant-design/pro-components";
|
|
|
import { useIntl } from "react-intl";
|
|
import { useIntl } from "react-intl";
|
|
|
import { Link } from "react-router-dom";
|
|
import { Link } from "react-router-dom";
|
|
|
-import { Layout, Space, Table } from "antd";
|
|
|
|
|
|
|
+import { Layout, Space, Table, Typography } from "antd";
|
|
|
import { PlusOutlined } from "@ant-design/icons";
|
|
import { PlusOutlined } from "@ant-design/icons";
|
|
|
import type { MenuProps } from "antd";
|
|
import type { MenuProps } from "antd";
|
|
|
import { Button, Dropdown, Menu, Popover } from "antd";
|
|
import { Button, Dropdown, Menu, Popover } from "antd";
|
|
@@ -13,6 +13,8 @@ import { IAnthologyListResponse } from "../../../components/api/Article";
|
|
|
import { get } from "../../../request";
|
|
import { get } from "../../../request";
|
|
|
import { PublicityValueEnum } from "../../../components/studio/table";
|
|
import { PublicityValueEnum } from "../../../components/studio/table";
|
|
|
|
|
|
|
|
|
|
+const { Title, Text } = Typography;
|
|
|
|
|
+
|
|
|
const onMenuClick: MenuProps["onClick"] = (e) => {
|
|
const onMenuClick: MenuProps["onClick"] = (e) => {
|
|
|
console.log("click", e);
|
|
console.log("click", e);
|
|
|
};
|
|
};
|
|
@@ -75,9 +77,13 @@ const Widget = () => {
|
|
|
return (
|
|
return (
|
|
|
<div>
|
|
<div>
|
|
|
<div>
|
|
<div>
|
|
|
- <Link to="edit/12345">{row.title}</Link>
|
|
|
|
|
|
|
+ <Link
|
|
|
|
|
+ to={`/studio/${studioname}/anthology/${row.id}/edit`}
|
|
|
|
|
+ >
|
|
|
|
|
+ {row.title}
|
|
|
|
|
+ </Link>
|
|
|
</div>
|
|
</div>
|
|
|
- <div>{row.subtitle}</div>
|
|
|
|
|
|
|
+ <Text type="secondary">{row.subtitle}</Text>
|
|
|
</div>
|
|
</div>
|
|
|
);
|
|
);
|
|
|
},
|
|
},
|