|
@@ -1,5 +1,5 @@
|
|
|
import React, { useEffect, useState } from 'react';
|
|
|
-import { Space, Table, Button, Input, Select, Tabs, message, Spin } from 'antd';
|
|
|
+import { Space, Table, Button, Input, Select, Tabs, message, Spin, Popconfirm } from 'antd';
|
|
|
import type { TableProps } from 'antd';
|
|
|
import styles from './index.module.css';
|
|
|
import { WeComPlan, WeComPlanListResponse, WeComPlanType, WeVideoItem } from './type';
|
|
@@ -98,7 +98,9 @@ const WeGZHContent: React.FC = () => {
|
|
|
<Button type="link" onClick={() => showQrCodeModal(record.pageUrl)}>二维码</Button>
|
|
|
<Button type="link" onClick={() => copyToClipboard(record.pageUrl)}>复制链接</Button>
|
|
|
<Button type="link" onClick={() => showDetailModal(record)}>详情</Button>
|
|
|
- <Button type="link" onClick={() => deletePlan(record)}>删除</Button>
|
|
|
+ <Popconfirm title="确定删除该内容吗?" okText="确定" cancelText="取消" onConfirm={() => deletePlan(record)}>
|
|
|
+ <Button type="link">删除</Button>
|
|
|
+ </Popconfirm>
|
|
|
</Space>
|
|
|
),
|
|
|
},
|