scroll page to bottom when creating a new tag

This commit is contained in:
MaysWind
2026-04-06 23:56:06 +08:00
parent b4c31fc9d0
commit fe0187ac2c
3 changed files with 31 additions and 8 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ export function useTagListPageBase() {
}
}
function add(): void {
function createNewTag(): void {
newTag.value = TransactionTag.createNewTag('', activeTagGroupId.value);
}
@@ -78,7 +78,7 @@ export function useTagListPageBase() {
// functions
isTagModified,
switchTagGroup,
add,
createNewTag,
edit
};
}