|
|
@ -116,7 +116,7 @@ export class TopBar extends React.Component {
|
|
|
|
if(e.key == '1'){
|
|
|
|
if(e.key == '1'){
|
|
|
|
this.props.onExport('png');
|
|
|
|
this.props.onExport('png');
|
|
|
|
}else if(e.key == '3'){
|
|
|
|
}else if(e.key == '3'){
|
|
|
|
window.open("/weaver/weaver.file.fileDownload?fileid=11458&download=1");
|
|
|
|
window.open("/weaver/weaver.file.FileDownload?fileid=11458&download=1");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// this.props.onExport(e.key == '1' ? 'png' : 'pdf');
|
|
|
|
// this.props.onExport(e.key == '1' ? 'png' : 'pdf');
|
|
|
|
}
|
|
|
|
}
|
|
|
|