#jcl-8082# 增加导出导出Xmind按钮
This commit is contained in:
parent
170dfe720a
commit
26256ab1f5
|
|
@ -113,7 +113,12 @@ export class TopBar extends React.Component {
|
|||
};
|
||||
|
||||
handleExportMenuClick(e) {
|
||||
this.props.onExport(e.key == '1' ? 'png' : 'pdf');
|
||||
if(e.key == '1'){
|
||||
this.props.onExport('png');
|
||||
}else if(e.key == '3'){
|
||||
window.open("/weaver/weaver.file.fileDownload?fileid=11458&download=1");
|
||||
}
|
||||
// this.props.onExport(e.key == '1' ? 'png' : 'pdf');
|
||||
}
|
||||
|
||||
handleExportButtonClick() {
|
||||
|
|
@ -209,10 +214,10 @@ export class TopBar extends React.Component {
|
|||
label: `${getLabel(547315, this.props.labelData)}`,
|
||||
key: '1',
|
||||
},
|
||||
// {
|
||||
// label: '导出PDF',
|
||||
// key: '2',
|
||||
// },
|
||||
{
|
||||
label: '导出Xmind',
|
||||
key: '3',
|
||||
},
|
||||
]}
|
||||
/>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue