|
|
@@ -147,7 +147,7 @@ const VideoSelectModal: React.FC<VideoSelectModalProps> = ({ planType, visible,
|
|
|
const currentPageRef = useRef(1);
|
|
|
const getVideoListRef = useRef<(pageNum: number, mode: LoadMode) => Promise<void>>();
|
|
|
const reqIdRef = useRef(0);
|
|
|
- const MAX_SELECTION = 20;
|
|
|
+ const MAX_SELECTION = planType === GzhPlanType.自动回复 ? 3 : 20;
|
|
|
|
|
|
useEffect(() => { hasMoreRef.current = hasMore; }, [hasMore]);
|
|
|
useEffect(() => { loadingRef.current = loading; }, [loading]);
|