Update: ace编辑器在卸载时不再自动将滚动条移动到顶部

This commit is contained in:
王立帮
2025-03-11 14:31:59 +08:00
parent 596bffb8cb
commit 04fd6fe9b6

View File

@@ -357,11 +357,6 @@ class EditorAce extends EditorBase {
focus() { focus() {
this.#editor_.focus(); this.#editor_.focus();
} }
onUnmounted() {
this.scrollToTop();
super.onUnmounted();
}
} }
Mixly.EditorAce = EditorAce; Mixly.EditorAce = EditorAce;