Commit 4fec8167 authored by 田翔's avatar 田翔

手机号正则校验

parent 8c177d1d
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "2.5.6", "version": "2.5.7",
"description": "2.5.6: BUG修复", "description": "2.5.7: 手机号正则校验",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -93,7 +93,7 @@ const globalSettings = { ...@@ -93,7 +93,7 @@ const globalSettings = {
required: true, required: true,
}, },
alias: { alias: {
title: '别名', title: '展示名称',
type: 'string', type: 'string',
widget: 'htmlInput', widget: 'htmlInput',
}, },
......
...@@ -17,7 +17,7 @@ const options = [ ...@@ -17,7 +17,7 @@ const options = [
{ {
name: 'mobile', name: 'mobile',
label: '手机号(mobile)', label: '手机号(mobile)',
value: '/^[1][3,4,5,6,7,8,9][0-9]{9}$/', value: '^[1][3,4,5,6,7,8,9][0-9]{9}$',
message: '手机号校验未通过', message: '手机号校验未通过',
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment