From 53daffd2850c0f1afc05a96a0530cac73b67f0ad Mon Sep 17 00:00:00 2001 From: Wayne Date: Sun, 24 Dec 2023 16:26:36 +0800 Subject: [PATCH] 0000812 --- src/views/Card/Edit.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) => {