We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dddafdf commit 1bf8dfeCopy full SHA for 1bf8dfe
packages/core/ServersPlugin.ts
@@ -132,7 +132,9 @@ class ServersPlugin {
132
// 加载后钩子
133
this.editor.hooksEntity.hookImportAfter.callAsync(jsonFile, () => {
134
// 修复导入带水印的json无法清除问题 #359
135
- this.editor?.updateDrawStatus(!!temp['overlayImage']);
+ this.editor?.updateDrawStatus &&
136
+ typeof this.editor.updateDrawStatus === 'function' &&
137
+ this.editor.updateDrawStatus(!!temp['overlayImage']);
138
this.canvas.renderAll();
139
callback && callback();
140
this.editor.emit('loadJson');
0 commit comments