this.$refs.tuiImageEditor.invoke('loadImageFromURL', 'hn0fqc.jpg', 'My sample image');
error:
Uncaught (in promise) The executing command state is locked.
@kashyappiyush1998 I solved the issue by using setTimeOut().
setTimeout(() => { editorInstance.loadImageFromFile(imgFile, 'annotatedFile').then(() => {}); }, 100);
this.$refs.tuiImageEditor.invoke('loadImageFromURL', 'hn0fqc.jpg', 'My sample image'); error: Uncaught (in promise) The executing command state is locked.
Version
Development Environment
Current Behavior
Expected Behavior