feat: configurable persistent tabs

This commit is contained in:
vince
2024-07-10 00:50:41 +08:00
parent 41d0495630
commit db76325d68
23 changed files with 177 additions and 176 deletions

View File

@@ -71,6 +71,7 @@ const defaultPreferences: Preferences = {
tabbar: {
enable: true,
keepAlive: true,
persist: true,
showIcon: true,
},
theme: {

View File

@@ -143,6 +143,8 @@ interface TabbarPreferences {
enable: boolean;
/** 开启标签页缓存功能 */
keepAlive: boolean;
/** 是否持久化标签 */
persist: boolean;
/** 是否开启多标签页图标 */
showIcon: boolean;
}