|
|
|
@ -283,21 +283,21 @@ export class TemplateParamPanel extends React.Component<TemplateParamProps, Temp
|
|
|
|
|
text="旋转空间"
|
|
|
|
|
onClick={() => { this.RotateSpace(curTemp); }}
|
|
|
|
|
/>
|
|
|
|
|
{
|
|
|
|
|
(curParent && curParent.SplitType !== -1) ?
|
|
|
|
|
[["左", "右"], ["前", "后"], ["上", "下"]][curParent.SplitType].map((char, i) =>
|
|
|
|
|
{
|
|
|
|
|
return (
|
|
|
|
|
<MenuItem
|
|
|
|
|
text={`${char}边添加空间`}
|
|
|
|
|
onClick={async () => { await this.AddSpace(i, curParent, curTemp as TemplateVisualSpace); }}
|
|
|
|
|
/>
|
|
|
|
|
);
|
|
|
|
|
}) : null
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
curTemp instanceof TemplateVisualSpace ?
|
|
|
|
|
|
|
|
|
|
(curParent && curParent.SplitType !== -1) ?
|
|
|
|
|
[["左", "右"], ["前", "后"], ["上", "下"]][curParent.SplitType].map((char, i) =>
|
|
|
|
|
{
|
|
|
|
|
return (
|
|
|
|
|
<MenuItem
|
|
|
|
|
text={`${char}边添加空间`}
|
|
|
|
|
onClick={async () => { await this.AddSpace(i, curParent, curTemp as TemplateVisualSpace); }}
|
|
|
|
|
/>
|
|
|
|
|
);
|
|
|
|
|
})
|
|
|
|
|
: null
|
|
|
|
|
:
|
|
|
|
|
null :
|
|
|
|
|
<>
|
|
|
|
|
<MenuItem
|
|
|
|
|
text="批量修改当前层的柜体名为节点名称"
|
|
|
|
|