|
|
@ -272,14 +272,14 @@ export class TempalteActionDialog extends React.Component<ITempalteActionDialogP
|
|
|
|
if (isStretchAction)
|
|
|
|
if (isStretchAction)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
let keyRes = await app.Editor.GetKeyWords({
|
|
|
|
let keyRes = await app.Editor.GetKeyWords({
|
|
|
|
Msg: "是否使用比例盒子?",
|
|
|
|
Msg: "拉伸动作类型:",
|
|
|
|
KeyWordList: [
|
|
|
|
KeyWordList: [
|
|
|
|
{ key: "1", msg: "是" },
|
|
|
|
{ key: "1", msg: "夹点" },
|
|
|
|
{ key: "2", msg: "否" },
|
|
|
|
{ key: "2", msg: "拉伸" },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
Default: "1"
|
|
|
|
Default: "1"
|
|
|
|
});
|
|
|
|
});
|
|
|
|
act = await AddStretchAction(this.props.store.Template, keyRes.StringResult === "1");
|
|
|
|
act = await AddStretchAction(this.props.store.Template, keyRes.StringResult === "2");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
act = await AddFilletAction(this.props.store.Template);
|
|
|
|
act = await AddFilletAction(this.props.store.Template);
|
|
|
|