YunaiV
|
89a49cf19c
|
refactor(frontend): 统一当前登录用户 ID 获取入口
- 新增 getCurrentUserId 到 utils/auth
- 替换 IM、CRM、BPM、MES、Mall 等模块中直接读取 userStore.getUser.id 的写法
- 移除 IM 内部 currentUser 工具依赖,统一从全局 auth 工具获取当前用户编号
- 保留 userStore 对昵称、头像、部门等非 ID 字段的读取
|
2026-05-28 23:38:46 +08:00 |
YunaiV
|
763e11eb78
|
refactor(im): 统一本地存储入口和 store 命名
- 删除 utils/storage.ts,getCurrentUserId 移到 utils/user.ts
- StorageKeys 移到 utils/db.ts,按 localStorage / settings 分组
- db 客户端新增 clearStore;整桶 store 改为 clearStore + 循环 put 单事务
- 业务 store action / getter 统一改为 verbXxxList / verbXxx 风格
- draft API 加 Conversation 前缀;FriendStore loadFriends 改名 loadFriendData
- 卸载 localforage 依赖
|
2026-05-28 19:49:54 +08:00 |
YunaiV
|
0a07d4a2e4
|
✨ feat(im): 将 style 尽量多的改成 unocss,ai 友好
|
2026-05-20 13:56:46 +08:00 |
YunaiV
|
8b4351e4f3
|
✨ feat(im): 增加群邀请电话的 dialog
|
2026-05-16 21:39:23 +08:00 |