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

手机号正则校验

parent 8c177d1d
{
"name": "panda-xform",
"version": "2.5.6",
"description": "2.5.6: BUG修复",
"version": "2.5.7",
"description": "2.5.7: 手机号正则校验",
"keywords": [
"panda-xform"
],
......
......@@ -93,7 +93,7 @@ const globalSettings = {
required: true,
},
alias: {
title: '别名',
title: '展示名称',
type: 'string',
widget: 'htmlInput',
},
......
......@@ -17,7 +17,7 @@ const options = [
{
name: '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: '手机号校验未通过',
},
{
......
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