mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2026-02-23 06:37:01 +00:00
基本表单功能、通用设置界面
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user