|
|
@ -1,5 +1,5 @@
|
|
|
|
import React = require("react");
|
|
|
|
import React = require("react");
|
|
|
|
import { Button, Classes, Radio, RadioGroup } from "@blueprintjs/core";
|
|
|
|
import { Button, Classes, Radio, RadioGroup, Intent } from "@blueprintjs/core";
|
|
|
|
import { observable } from "mobx";
|
|
|
|
import { observable } from "mobx";
|
|
|
|
import { inject, observer } from "mobx-react";
|
|
|
|
import { inject, observer } from "mobx-react";
|
|
|
|
import { begin } from "xaop";
|
|
|
|
import { begin } from "xaop";
|
|
|
@ -170,7 +170,7 @@ export class ReferenceCuttingModal extends React.Component<{ store: ReferenceCut
|
|
|
|
onClick={() =>
|
|
|
|
onClick={() =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (store.HasInvailValue())
|
|
|
|
if (store.HasInvailValue())
|
|
|
|
AppToaster.show({ message: "存在无效数值,请修正", timeout: 1000 });
|
|
|
|
AppToaster.show({ message: "存在无效数值,请修正", timeout: 2000, intent: Intent.DANGER });
|
|
|
|
else
|
|
|
|
else
|
|
|
|
store.OnOk();
|
|
|
|
store.OnOk();
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|