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.
@@ -0,0 +1,5 @@
1
+ {
2
+ "i18n-ally.localesPaths": [
3
+ "app/components/common/PickerV2Base/picker/locale"
4
+ ]
5
+ }
@@ -396,7 +396,7 @@ function LoginScreen({ navigation, route }) {
396
396
  Alert.alert("请输入手机号");
397
397
  return false;
398
398
  }
399
- if (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(phone)) {
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 (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(phone)) {
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 (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(phone)) {
398
+ if (!/^1[3-9]\d{9}$/.test(phone)) {
399
399
  // Alert.alert('请输入正确的手机号');
400
400
  global.toast.showToast("手机号无效,请检查!");
401
401
  return false;
@@ -154,7 +154,7 @@ function LoginScreen({ navigation, route }) {
154
154
  Alert.alert("请输入手机号");
155
155
  return false;
156
156
  }
157
- if (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(phone)) {
157
+ if (!/^1[3-9]\d{9}$/.test(phone)) {
158
158
  Alert.alert("请输入正确的手机号");
159
159
  return false;
160
160
  }
@@ -108,7 +108,7 @@ const Index = ({ route }) => {
108
108
  Alert.alert("请输入手机号");
109
109
  return false;
110
110
  }
111
- if (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(phoneNumber)) {
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 (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(phoneNumber)) {
48
+ if (!/^1[3-9]\d{9}$/.test(phoneNumber)) {
49
49
  // Alert.alert('请输入正确的手机号');
50
50
  global.toast.showToast('手机号无效,请检查!');
51
51
  return false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ipanel-rnapp-ajb-base",
3
- "version": "1.0.43",
4
- "ipanelVersion": "1.0.538",
3
+ "version": "1.0.44",
4
+ "ipanelVersion": "1.0.590",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "keywords": [