diff --git a/src/renderer/App.vue b/src/renderer/App.vue index 7a0f7083..d1198707 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -26,9 +26,11 @@ diff --git a/src/renderer/components/BaseTextEditor.vue b/src/renderer/components/BaseTextEditor.vue index 639a25fb..04498e4c 100644 --- a/src/renderer/components/BaseTextEditor.vue +++ b/src/renderer/components/BaseTextEditor.vue @@ -13,6 +13,7 @@ import * as ace from 'ace-builds'; import 'ace-builds/webpack-resolver'; import { mapGetters } from 'vuex'; +import { uidGen } from 'common/libs/uidGen'; export default { name: 'BaseTextEditor', @@ -78,7 +79,7 @@ export default { } }, created () { - this.id = this._uid; + this.id = uidGen('E'); }, mounted () { this.editor = ace.edit(`editor-${this.id}`, { diff --git a/src/renderer/components/ModalSettings.vue b/src/renderer/components/ModalSettings.vue index a0a76c9f..83a9b0b0 100644 --- a/src/renderer/components/ModalSettings.vue +++ b/src/renderer/components/ModalSettings.vue @@ -320,6 +320,8 @@