修复接入时弹出文件管理导致无法输出的bug
This commit is contained in:
@ -47,7 +47,8 @@ class Access extends Component {
|
||||
uploadLoading: false,
|
||||
startTime: new Date(),
|
||||
fullScreen: false,
|
||||
fullScreenBtnText: '进入全屏'
|
||||
fullScreenBtnText: '进入全屏',
|
||||
sink: undefined
|
||||
};
|
||||
|
||||
async componentDidMount() {
|
||||
@ -434,6 +435,7 @@ class Access extends Component {
|
||||
containerWidth: width,
|
||||
containerHeight: height,
|
||||
keyboard: keyboard,
|
||||
sink: sink
|
||||
});
|
||||
}
|
||||
|
||||
@ -622,6 +624,9 @@ class Access extends Component {
|
||||
closable={true}
|
||||
// maskClosable={false}
|
||||
onClose={() => {
|
||||
if (this.state.sink) {
|
||||
this.state.sink.focus();
|
||||
}
|
||||
this.setState({
|
||||
fileSystemVisible: false
|
||||
});
|
||||
@ -666,6 +671,9 @@ class Access extends Component {
|
||||
}}
|
||||
confirmLoading={this.state.confirmLoading}
|
||||
onCancel={() => {
|
||||
if (this.state.sink) {
|
||||
this.state.sink.focus();
|
||||
}
|
||||
this.setState({
|
||||
clipboardVisible: false
|
||||
})
|
||||
|
@ -280,7 +280,7 @@ class OnlineSession extends Component {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Button type="link" size='small' onClick={() => {
|
||||
<Button type="link" size='small' disabled={record['mode'] === 'naive'} onClick={() => {
|
||||
this.showMonitor(record)
|
||||
}}>监控</Button>
|
||||
<Button type="link" size='small' onClick={async () => {
|
||||
|
Reference in New Issue
Block a user