Commit fb29425b authored by 乐宝呗666's avatar 乐宝呗666

修改mac地址正则表达式

parent 315bb199
......@@ -33,7 +33,7 @@
placeholder="请填写机顶盒Mac地址"
:rules="[
{ required: true, message: '请填写机顶盒Mac地址', trigger: ['blur', 'change'] },
{ pattern: /^[A-F0-9]{2}([-:]?[A-F0-9]{2})([-:.]?[A-F0-9]{2})([-:]?[A-F0-9]{2})([-:.]?[A-F0-9]{2})([-:]?[A-F0-9]{2})$/, message: '请填写正确的Mac地址', trigger: ['blur', 'change']}
{ pattern: /^[A-Fa-f0-9]{2}([-:]?[A-Fa-f0-9]{2})([-:.]?[A-Fa-f0-9]{2})([-:]?[A-Fa-f0-9]{2})([-:.]?[A-Fa-f0-9]{2})([-:]?[A-Fa-f0-9]{2})$/, message: '请填写正确的Mac地址', trigger: ['blur', 'change']}
]"
/>
<div class="form-page-button">
......
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