|
@@ -1,6 +1,14 @@
|
|
|
import { Link } from "react-router-dom";
|
|
import { Link } from "react-router-dom";
|
|
|
import { useIntl } from "react-intl";
|
|
import { useIntl } from "react-intl";
|
|
|
-import { Button, Popover, Typography, Dropdown, Modal, message } from "antd";
|
|
|
|
|
|
|
+import {
|
|
|
|
|
+ Button,
|
|
|
|
|
+ Popover,
|
|
|
|
|
+ Typography,
|
|
|
|
|
+ Dropdown,
|
|
|
|
|
+ Modal,
|
|
|
|
|
+ message,
|
|
|
|
|
+ Tag,
|
|
|
|
|
+} from "antd";
|
|
|
import { ActionType, ProList } from "@ant-design/pro-components";
|
|
import { ActionType, ProList } from "@ant-design/pro-components";
|
|
|
import {
|
|
import {
|
|
|
PlusOutlined,
|
|
PlusOutlined,
|
|
@@ -193,6 +201,14 @@ const AiModelList = ({ studioName }: IWidget) => {
|
|
|
);
|
|
);
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
|
|
+ description: {
|
|
|
|
|
+ dataIndex: "url",
|
|
|
|
|
+ },
|
|
|
|
|
+ subTitle: {
|
|
|
|
|
+ render(dom, entity, index, action, schema) {
|
|
|
|
|
+ return <Tag>{entity.model}</Tag>;
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
}}
|
|
}}
|
|
|
request={async (params = {}, sorter, filter) => {
|
|
request={async (params = {}, sorter, filter) => {
|
|
|
console.log(params, sorter, filter);
|
|
console.log(params, sorter, filter);
|