|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
import { Alignment, Button, Classes, HTMLSelect, Intent, Navbar, Position, ProgressBar, Switch, Tooltip } from '@blueprintjs/core';
|
|
|
|
|
import { inject, observer } from 'mobx-react';
|
|
|
|
|
import * as React from 'react';
|
|
|
|
|
import { SendFile } from '../../Add-on/SendCADFileOnKF';
|
|
|
|
|
import { app } from '../../ApplicationServices/Application';
|
|
|
|
|
import { CommandNames } from '../../Common/CommandNames';
|
|
|
|
|
import { SignUrl } from '../../Common/HostUrl';
|
|
|
|
@ -160,7 +161,7 @@ export class TopPanel extends React.Component<{ store?: TopPanelStore; }, {}>
|
|
|
|
|
icon="people"
|
|
|
|
|
text="发送图纸"
|
|
|
|
|
intent={Intent.PRIMARY}
|
|
|
|
|
onClick={() => commandMachine.ExecCommand(CommandNames.SendCADFileToKF)}
|
|
|
|
|
onClick={() => SendFile()}
|
|
|
|
|
/>
|
|
|
|
|
}
|
|
|
|
|
<Button
|
|
|
|
|