This commit is contained in:
yj 2024-08-12 15:23:14 +08:00
parent 1417befcd2
commit cd71405ccc
1 changed files with 3 additions and 2 deletions

View File

@ -158,7 +158,7 @@ const VideoComponents = () => {
<span></span>
<Select
placeholder={videoDeviceManager.list.length ? '请选择设备' : '未检测到摄像头'}
options={videoDeviceManager.list} style={{ flexGrow: 1 }}
options={videoDeviceManager.list} style={{ flexGrow: 1, marginRight: '10px' }}
value={videoDeviceManager.item} onChange={async (e) => {
const setting = await JSON.parse(storage.getItem('setting') as string)
setting.videoDeviceId = e;
@ -168,7 +168,8 @@ const VideoComponents = () => {
item: e
})
agora.setVideoDeviceManager(e)
}} />;
}} />
<span></span>
</div>
</div>
</div>