This commit is contained in:
Timi
2026-09-14 23:22:10 +08:00
parent 6187f35a62
commit f7d144e440
6 changed files with 479 additions and 1 deletions
+5
View File
@@ -29,6 +29,10 @@ export const useNavBarStore = defineStore("nav-bar", () => {
height.value = value;
}
function setTitle(value?: string): void {
title.value = value || "";
}
function setBackTo(value?: string): void {
backTo.value = value;
}
@@ -106,6 +110,7 @@ export const useNavBarStore = defineStore("nav-bar", () => {
isShowing,
canBack,
setHeight,
setTitle,
setBackTo,
setRightIcon,
setRightBadge,