This repository was archived by the owner on Jul 28, 2021. It is now read-only.

Description
mounted() {
let options = editorDefaultOptions;
if (this.includeUi) {
options = Object.assign(includeUIOptions, this.options);
}
this.editorInstance = new ImageEditor(this.$refs.tuiImageEditor, options);
this.addEventListener();
this.$emit('load', this.editorInstance) // add emit
},
need to check the instance loaded, $refs is not reliable