diff --git a/src/views/system/components/wangEditor.vue b/src/views/system/components/wangEditor.vue index b322507..32fd9b1 100644 --- a/src/views/system/components/wangEditor.vue +++ b/src/views/system/components/wangEditor.vue @@ -5,8 +5,8 @@ @onChange="onChange" @onCreated="onCreated" @onFocus="handleFocus" /> - - -
结果预览:
@@ -81,6 +80,7 @@ export default { data() { return { selectedOptions: [], + selectedOptionstwo:[], props: { value: "value", label: "label", @@ -253,9 +253,11 @@ export default { } this.fieldshow = false; setTimeout(() => { - this.editor.focus(); - }, 30); - + // this.editor.focus(); + this.add = []; + this.selectedOptionstwo = []; + this.editor.focus({ toEnd: true }); + }, 100); // setTimeout(() => { // if (this.modify) { // this.modify = false;