feat(mobile-app): 暂时隐藏自助申请授权页面的"省团队"选项
- 在 _buildAuthorizationTypes() 方法中过滤掉 AuthorizationType.provinceTeam - 现在"自助申请授权"页面只显示"社区"和"市团队"两个选项 - 原代码以注释形式保留,方便未来需要时快速恢复 - 相关枚举和后端逻辑保持不变,仅前端UI隐藏 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d29454fc74
commit
1c621c32ec
|
|
@ -854,6 +854,11 @@ class _AuthorizationApplyPageState
|
|||
|
||||
/// 构建授权类型选择
|
||||
Widget _buildAuthorizationTypes() {
|
||||
// 暂时隐藏省团队申请选项,未来需要时取消注释恢复
|
||||
final availableTypes = AuthorizationType.values
|
||||
.where((type) => type != AuthorizationType.provinceTeam)
|
||||
.toList();
|
||||
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
|
|
@ -867,7 +872,8 @@ class _AuthorizationApplyPageState
|
|||
),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
...AuthorizationType.values.map((type) => _buildTypeItem(type)),
|
||||
// 原代码: ...AuthorizationType.values.map((type) => _buildTypeItem(type)),
|
||||
...availableTypes.map((type) => _buildTypeItem(type)),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue