完善docker部署和readme

This commit is contained in:
dushixiang
2020-12-25 19:42:26 +08:00
parent 6c7cb6b0e7
commit bbd7eef0e1
14 changed files with 112 additions and 30 deletions

View File

@ -288,7 +288,7 @@ class OfflineSession extends Component {
render: (text, record) => {
let disabled = true;
let color = '#d9d9d9'
if (record['recording'] && record['recording'].length > 0) {
if (record['recording'] && record['recording'] === '1') {
disabled = false
color = ''
}
@ -297,7 +297,8 @@ class OfflineSession extends Component {
<div>
<Button type="link" size='small'
disabled={disabled}
icon={<PlaySquareTwoTone twoToneColor={color}/>} onClick={() => this.showPlayback(record.id)}>回放</Button>
icon={<PlaySquareTwoTone twoToneColor={color}/>}
onClick={() => this.showPlayback(record.id)}>回放</Button>
<Button type="link" size='small' icon={<DeleteTwoTone/>} onClick={() => {
confirm({
title: '您确定要删除此会话吗?',