基本表单功能、通用设置界面

This commit is contained in:
Gary Fu
2023-12-30 18:21:15 +08:00
parent d74c876d70
commit a65a1db306
9 changed files with 322 additions and 77 deletions

View File

@@ -94,21 +94,18 @@ export const useTabsViewStore = defineStore('tabsView', () => {
isShowTabIcon,
historyTabs,
cachedTabs,
changeTabMode () {
isTabMode.value = !isTabMode.value
changeTabMode (val) {
isTabMode.value = val
if (!isTabMode.value) {
clearHistoryTabs()
}
},
changeCachedTabMode () {
isCachedTabMode.value = !isCachedTabMode.value
changeCachedTabMode (val) {
isCachedTabMode.value = val
if (!isCachedTabMode.value) {
cachedTabs.value = []
}
},
changeShowTabIcon () {
isShowTabIcon.value = !isShowTabIcon.value
},
removeHistoryTab,
removeOtherHistoryTabs,
clearHistoryTabs,