fix:修改注册时选中国家出现错误提示的问题
This commit is contained in:
parent
6546b3ed17
commit
867dadd7b7
@ -100,9 +100,11 @@ class StarLockRegisterLogic extends BaseGetXController {
|
||||
Future<void> checkIpAction() async {
|
||||
final CheckIPEntity entity = await ApiRepository.to.checkIpAction(ip: '');
|
||||
if (entity.errorCode!.codeIsSuccessful) {
|
||||
if (state.countryName.value == entity.data!.name) {
|
||||
if (state.countryName.value != entity.data!.name) {
|
||||
ShowTipView().showSureAlertDialog(
|
||||
'国家地区的选择将影响数据安全,你当前选择的是阿尔巴尼亚,请确认后再继续'.tr,
|
||||
'国家地区的选择将影响数据安全,你当前选择的是'.tr +
|
||||
'${state.countryName.value},' +
|
||||
'请确认后再继续'.tr,
|
||||
tipTitle: '确认国家或地区'.tr,
|
||||
sureStr: '我知道了'.tr);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user