This commit is contained in:
yj 2024-08-12 16:23:17 +08:00
parent 7eb1b2d1dc
commit 6b4750536a
1 changed files with 20 additions and 3 deletions

View File

@ -1,9 +1,9 @@
import styles from '@/components/StupWizard/index.module.scss'
import ImageUrl from '@/utils/package/ImageUrl';
import { Button, Checkbox, Empty, Input, Modal, Select, Slider, message } from 'antd';
import { Button, Checkbox, Empty, Input, Modal, Popover, Select, Slider, message } from 'antd';
import { useState, useImperativeHandle, forwardRef, useEffect } from "react";
import agora from '@/utils/package/agora'
import { CloseOutlined, LoadingOutlined } from '@ant-design/icons';
import { CloseOutlined, LoadingOutlined, QuestionCircleOutlined } from '@ant-design/icons';
import { storage } from '@/utils';
import path from 'path';
const fs = require('fs').promises;
@ -156,6 +156,23 @@ const VideoComponents = () => {
}
<div>
<span></span>
<Popover
content={
<span
style={{
color: 'white'
}}>
</span>
}
title=""
>
<QuestionCircleOutlined style={{
color: 'white',
cursor: 'pointer',
marginRight: '10px'
}} />
</Popover>
<Select
placeholder={videoDeviceManager.list.length ? '请选择设备' : '未检测到摄像头'}
options={videoDeviceManager.list} style={{ flexGrow: 1, marginRight: '10px' }}
@ -169,7 +186,7 @@ const VideoComponents = () => {
})
agora.setVideoDeviceManager(e)
}} />
<span></span>
</div>
</div>
</div>