jihuaqiang vor 5 Tagen
Ursprung
Commit
9900ec1ae8

+ 1 - 1
src/views/publishContent/weCom/components/videoSelectModal/index.tsx

@@ -28,7 +28,7 @@ interface VideoSelectModalProps {
 	initialSelectedIds?: number[];
 }
 
-const VideoSelectModal: React.FC<VideoSelectModalProps> = ({ planType, visible, onClose, onOk, initialSelectedIds = [] }) => {
+const VideoSelectModal: React.FC<VideoSelectModalProps> = ({ visible, onClose, onOk, initialSelectedIds = [] }) => {
 	const { videoCategoryOptions } = useVideoCategoryOptions();
 	const [category, setCategory] = useState<string>();
 	const [searchTerm, setSearchTerm] = useState<string>('');

+ 1 - 1
src/views/publishContent/weCom/index.tsx

@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
 import { Space, Table, Button, Input, Select, Tabs, message, Spin, Popconfirm } from 'antd';
 import type { TableProps } from 'antd';
 import styles from './index.module.css';
-import { AddWeComPlanParam, WeComPlan, WeComPlanListResponse, WeComPlanType, WeVideoItem } from './type';
+import { AddWeComPlanParam, WeComPlan, WeComPlanListResponse, WeComPlanType } from './type';
 import request from '@src/http/index';
 import { deleteQwPlanApi, getQwPlanListApi, getShareQrPic, saveQwPlanApi } from "@src/http/api"
 import LinkDetailModal from './components/linkDetailModal';