update ui
This commit is contained in:
parent
7ee5cac052
commit
d294fc711b
@ -105,7 +105,7 @@ export const Player = React.forwardRef<PlayerInstance, Props>((props, ref) => {
|
|||||||
}catch (e){
|
}catch (e){
|
||||||
console.log(e)
|
console.log(e)
|
||||||
}
|
}
|
||||||
playerVideo.parentElement.removeChild(playerVideo)
|
playerVideo.parentElement?.removeChild(playerVideo)
|
||||||
}
|
}
|
||||||
}, [])
|
}, [])
|
||||||
React.useImperativeHandle(ref, () => {
|
React.useImperativeHandle(ref, () => {
|
||||||
|
@ -108,7 +108,7 @@ export const VideoListItem = (
|
|||||||
arrow={false}
|
arrow={false}
|
||||||
icon={<IconWarningCircle/>}
|
icon={<IconWarningCircle/>}
|
||||||
title={'你确定要删除吗?'}
|
title={'你确定要删除吗?'}
|
||||||
description={`删除后需从重新${type == 'news' ? '生成' : '推流'}`}
|
description={`删除后需从重新${type == 'create' ? '生成' : '推流'}`}
|
||||||
onConfirm={onRemove}
|
onConfirm={onRemove}
|
||||||
><button className="hover:text-blue-500"><IconDelete/></button></Popconfirm>}
|
><button className="hover:text-blue-500"><IconDelete/></button></Popconfirm>}
|
||||||
<Checkbox checked={state.checked} onChange={() => {
|
<Checkbox checked={state.checked} onChange={() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user