This commit is contained in:
Vanessa 2022-06-08 10:25:42 +08:00
parent f6d0be00d6
commit 2f62002813

View file

@ -147,7 +147,7 @@ class Protyle {
}, getResponse => {
onGet(getResponse, this.protyle, options.action);
if (this.protyle.model) {
if (options.action.includes(Constants.CB_GET_FOCUS)) {
if (options.action?.includes(Constants.CB_GET_FOCUS)) {
setPanelFocus(this.protyle.model.element.parentElement.parentElement);
}
updatePanelByEditor(this.protyle, false);