|
|
@ -30,7 +30,7 @@ const KeyWordCommandMap: Map<string, string> = new Map(Object.entries({
|
|
|
|
|
|
|
|
|
|
|
|
"ESC": "ESC",
|
|
|
|
"ESC": "ESC",
|
|
|
|
"WR": "EDITORWINERACK",
|
|
|
|
"WR": "EDITORWINERACK",
|
|
|
|
"EBR": "EDITORBOARDTEMPLATE",
|
|
|
|
"T": "EDITORBOARDTEMPLATE",
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -149,10 +149,10 @@ export class ContextMenuServices implements EditorService
|
|
|
|
{
|
|
|
|
{
|
|
|
|
let temp = selects[0].Template.Object;
|
|
|
|
let temp = selects[0].Template.Object;
|
|
|
|
if (temp instanceof TemplateWineRackRecord)
|
|
|
|
if (temp instanceof TemplateWineRackRecord)
|
|
|
|
menuKeywords.push({ key: "WR", msg: "编辑酒格" });
|
|
|
|
menuKeywords.push({ key: "WR", msg: "编辑酒格模块" });
|
|
|
|
else if (temp instanceof TemplateBoardRecord)
|
|
|
|
else if (temp instanceof TemplateBoardRecord)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
menuKeywords.push({ key: "EBR", msg: "编辑板件" });
|
|
|
|
menuKeywords.push({ key: "T", msg: "编辑板件模块" });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|