diff --git a/src/views/Card/Edit.vue b/src/views/Card/Edit.vue index 235c670..92dd13c 100644 --- a/src/views/Card/Edit.vue +++ b/src/views/Card/Edit.vue @@ -2,7 +2,7 @@ import Footer from "@/components/Footer.vue"; import FlexView from "@/components/FlexView.vue"; -import { ref, watch, computed } from "vue"; +import { ref, watch, computed, nextTick } from "vue"; import { useCardStore } from '@/store/card' @@ -143,6 +143,10 @@ const addBtn = (page) => { text: "", btnHeight: "md", }); + + nextTick(() => { + window.scrollTo(0, document.body.scrollHeight); + }); }; const addShareBtn = (page) => {