diff --git a/src/Editor/DefaultConfig.ts b/src/Editor/DefaultConfig.ts index 5853dcc44..a630c7b35 100644 --- a/src/Editor/DefaultConfig.ts +++ b/src/Editor/DefaultConfig.ts @@ -774,6 +774,8 @@ export const DefaultUpdateInfoOption: IUpdateBoardInfosOption = { Object.freeze(DefaultUpdateInfoOption); export const DefaultKuGanOption: IKuGangDrawOption = { + insertMode: "0", + minSpacing: 50, count: 1, isHor: false, depth: 0, diff --git a/src/UI/Components/Template/KuGanDetail.tsx b/src/UI/Components/Template/KuGanDetail.tsx index c97b66a7d..0fbd5f076 100644 --- a/src/UI/Components/Template/KuGanDetail.tsx +++ b/src/UI/Components/Template/KuGanDetail.tsx @@ -1,10 +1,10 @@ -import { Checkbox, Classes, Label, Spinner } from '@blueprintjs/core'; +import { Checkbox, Classes, Label, Radio, RadioGroup, Spinner } from '@blueprintjs/core'; +import { observable } from 'mobx'; import { observer } from 'mobx-react'; import * as React from 'react'; import { CheckObjectType } from '../../../Common/CheckoutVaildValue'; import { KuGanStore } from '../../Store/KuGanStore'; import { ToasterInput } from '../Toaster'; -import { observable } from 'mobx'; interface IKuGanDetailProps { @@ -32,24 +32,52 @@ export class KuGanDetail extends React.Component { return ; return (
-
-
-
+
option.isDefault = !option.isDefault} />
-
+
-
+