yangjie #22

Merged
yangqiang merged 99 commits from yangjie into master 2024-10-22 16:11:46 +08:00
1 changed files with 18 additions and 13 deletions
Showing only changes of commit b96e5853a1 - Show all commits

View File

@ -341,20 +341,25 @@ const Meeting: React.FC = () => {
const setting = await JSON.parse(storage.getItem('setting') as string); const setting = await JSON.parse(storage.getItem('setting') as string);
const stateInfo = await JSON.parse(storage.getItem('stateInfo') as string); const stateInfo = await JSON.parse(storage.getItem('stateInfo') as string);
if (stateInfo && setting.isRecordingTips && !recorder) { if (stateInfo && setting.isRecordingTips && !recorder) {
confirm({ setRecorder((data: any) => {
title: '提示', if (!data) {
icon: <ExclamationCircleFilled />, confirm({
content: `是否录制本次会议?`, title: '提示',
centered: true, icon: <ExclamationCircleFilled />,
okText: '确定', content: `是否录制本次会议?`,
cancelText: '取消', centered: true,
async onOk() { okText: '确定',
changeStatusList({ cancelText: '取消',
title: '录制' async onOk() {
}, 1, 3) changeStatusList({
}, title: '录制'
onCancel() { }, 1, 3)
},
onCancel() {
}
})
} }
return data
}) })
} }
}, 10000); }, 10000);