优化:避免GetEntity右键点击后返回错误的状态

pull/1498/MERGE
ChenX 3 years ago
parent a56fc6b455
commit a51ea56797

@ -133,7 +133,8 @@ export class GetEntityServices implements EditorService
this.Cancel();
break;
default:
this.Retun({ Status: PromptStatus.Keyword, StringResult: res.StringResult });
if (res.StringResult !== undefined)
this.Retun({ Status: PromptStatus.Keyword, StringResult: res.StringResult });
break;
}
}

Loading…
Cancel
Save