docs(tabbar): 更新tabbar相关文档和注释

更新README.md文件中的配置说明和文件说明,使其更清晰准确
在store.ts中添加注释说明文件用途
This commit is contained in:
feige996
2025-08-17 15:00:43 +08:00
parent e7ef297872
commit 2293e635bf
2 changed files with 7 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
import { tabbarList } from './config'
/**
* 自定义 tabbar 的状态管理,原生 tabbar 无需关注本文件
* tabbar 状态,增加 storageSync 保证刷新浏览器时在正确的 tabbar 页面
* 使用reactive简单状态而不是 pinia 全局状态
*/