feat(mobile-next): 工号查询防抖、开关接入,资料页不再把工号当手机号
Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
co-authored by
Cursor
multica-agent
parent
3b87812db8
commit
26622676ed
+4
-3
@@ -3,6 +3,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:openim_common/openim_common.dart';
|
||||
|
||||
import '../../../company/feature_flags.dart';
|
||||
import 'personal_info_logic.dart';
|
||||
|
||||
class PersonalInfoPage extends StatelessWidget {
|
||||
@@ -52,9 +53,9 @@ class PersonalInfoPage extends StatelessWidget {
|
||||
_buildCornerBgView(
|
||||
children: [
|
||||
_buildItemView(
|
||||
label: StrRes.mobile,
|
||||
value: logic.phoneNumber,
|
||||
onTap: logic.clickPhoneNumber,
|
||||
label: FeatureFlags.staffLoginOnly ? '工号' : StrRes.mobile,
|
||||
value: FeatureFlags.staffLoginOnly ? logic.userID : logic.phoneNumber,
|
||||
onTap: FeatureFlags.staffLoginOnly ? null : logic.clickPhoneNumber,
|
||||
),
|
||||
_buildItemView(
|
||||
label: StrRes.email,
|
||||
|
||||
Reference in New Issue
Block a user