调整 发布

This commit is contained in:
浅念
2026-03-12 16:47:27 +08:00
parent 12bc0f8ba9
commit f892dbcb32
13 changed files with 536 additions and 111 deletions
+3 -6
View File
@@ -123,12 +123,9 @@
uni.setStorageSync('userInfo', userInfo)
// 处理角色信息(统一使用 role.js 工具)
if (data.role) {
saveRoles(data.role, data.role_wp)
// 通知自定义 TabBar 刷新
uni.$emit && uni.$emit('userRoleChanged')
}
saveRoles(data.role, data.role_wp)
// 通知自定义 TabBar 刷新
uni.$emit && uni.$emit('userRoleChanged')
this.title = '登录成功'
this.desc = '正在进入页面'