Skip to content

Commit

Permalink
fix(EditorMd): 解决页面上有md编辑器时,刷新页面,页面自动滚动到某个位置的问题 (#1824)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyan95 authored Apr 11, 2024
1 parent 9f4ded8 commit 8693589
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ export function useEditorMd(props: EditorMdProps, ctx: SetupContext) {

editorIns.setSize('auto', '100%');
refreshEditorCursor();
editorIns.setCursor(editorIns.lineCount(), 0);
ctx.emit('afterEditorInit', editorIns);
editorIns.on('change', onChange);
editorIns.on('scroll', onScroll);
Expand Down
2 changes: 1 addition & 1 deletion packages/devui-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-devui",
"version": "1.6.9",
"version": "1.6.10",
"license": "MIT",
"description": "DevUI components based on Vite and Vue3",
"keywords": [
Expand Down

0 comments on commit 8693589

Please sign in to comment.