ipanel-rnapp-ajb-base 1.0.43 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +5 -0
- package/app/screens/LoginScreen/index.js +1 -1
- package/app/screens/LoginScreen/indexEdu.js +1 -1
- package/app/screens/LoginScreen/indexNew.js +1 -1
- package/app/screens/LoginScreen/indexSbk.js +1 -1
- package/app/screens/RegisteCountScreen/index.js +1 -1
- package/app/screens/ResePassword/index.js +1 -1
- package/package.json +2 -2
|
@@ -396,7 +396,7 @@ function LoginScreen({ navigation, route }) {
|
|
|
396
396
|
Alert.alert("请输入手机号");
|
|
397
397
|
return false;
|
|
398
398
|
}
|
|
399
|
-
if (!/^
|
|
399
|
+
if (!/^1[3-9]\d{9}$/.test(phone)) {
|
|
400
400
|
// Alert.alert('请输入正确的手机号');
|
|
401
401
|
global.toast.showToast("手机号无效,请检查!");
|
|
402
402
|
return false;
|
|
@@ -198,7 +198,7 @@ function LoginScreen({ navigation, route }) {
|
|
|
198
198
|
Alert.alert("请输入手机号");
|
|
199
199
|
return false;
|
|
200
200
|
}
|
|
201
|
-
if (!/^
|
|
201
|
+
if (!/^1[3-9]\d{9}$/.test(phone)) {
|
|
202
202
|
// Alert.alert('请输入正确的手机号');
|
|
203
203
|
global.toast.showToast("手机号无效,请检查!");
|
|
204
204
|
return false;
|
|
@@ -395,7 +395,7 @@ function LoginScreen({ navigation, route }) {
|
|
|
395
395
|
Alert.alert("请输入手机号");
|
|
396
396
|
return false;
|
|
397
397
|
}
|
|
398
|
-
if (!/^
|
|
398
|
+
if (!/^1[3-9]\d{9}$/.test(phone)) {
|
|
399
399
|
// Alert.alert('请输入正确的手机号');
|
|
400
400
|
global.toast.showToast("手机号无效,请检查!");
|
|
401
401
|
return false;
|
|
@@ -108,7 +108,7 @@ const Index = ({ route }) => {
|
|
|
108
108
|
Alert.alert("请输入手机号");
|
|
109
109
|
return false;
|
|
110
110
|
}
|
|
111
|
-
if (!/^
|
|
111
|
+
if (!/^1[3-9]\d{9}$/.test(phoneNumber)) {
|
|
112
112
|
// Alert.alert('请输入正确的手机号');
|
|
113
113
|
global.toast.showToast("手机号无效,请检查!");
|
|
114
114
|
return false;
|
|
@@ -45,7 +45,7 @@ const Index = ({route}) => {
|
|
|
45
45
|
Alert.alert('请输入手机号');
|
|
46
46
|
return false;
|
|
47
47
|
}
|
|
48
|
-
if (!/^
|
|
48
|
+
if (!/^1[3-9]\d{9}$/.test(phoneNumber)) {
|
|
49
49
|
// Alert.alert('请输入正确的手机号');
|
|
50
50
|
global.toast.showToast('手机号无效,请检查!');
|
|
51
51
|
return false;
|