cfel-base-components 2.5.24 → 2.5.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfel-base-components",
3
- "version": "2.5.24",
3
+ "version": "2.5.25",
4
4
  "description": "cfel-base-components",
5
5
  "main": "/src/index.tsx",
6
6
  "types": "src/index.d.ts",
@@ -193,7 +193,7 @@ export default function Index({
193
193
  name={key}
194
194
  rules={[
195
195
  { required: required, message: '请输入' },
196
- { pattern: /1[0-9]{10}$/, message: '请输入正确的电话号码' }
196
+ { pattern: /^1[0-9]{10}$/, message: '请输入正确的电话号码' }
197
197
  ]}
198
198
  >
199
199
  <Input placeholder='请输入' />