feat(useTitle): Add useTitle

feat(useNProgress): Add useNProgress
This commit is contained in:
kailong321200875
2022-01-09 10:57:50 +08:00
parent 3fc7d4d39a
commit c5ab3599c8
24 changed files with 1225 additions and 844 deletions

View File

@@ -58,9 +58,6 @@ export const useAppStore = defineStore({
getShowMenuTab(): boolean {
return this.showMenuTab
},
getRequestTime(): boolean {
return this.requestTime
},
getIsDark(): boolean {
return this.isDark
},
@@ -117,9 +114,6 @@ export const useAppStore = defineStore({
setShowMenuTab(showMenuTab: boolean) {
this.showMenuTab = showMenuTab
},
setRequestTime(requestTime: boolean) {
this.requestTime = requestTime
},
setIsDark(isDark: boolean) {
this.isDark = isDark
if (this.isDark) {