Commit 833eaf15 authored by 陈明豪's avatar 陈明豪

bug修改

parent f584cbe1
......@@ -82,7 +82,7 @@ export default {
// const title= /^[\u0391-\uFFE5A-Za-z]+$/
const title = /^[\a-\z\A-\Z0-9\u4e00-\u9fe5]+$/
if (!title.test(value)) {
callback(new Error('请输入中英文数字'))
callback(new Error('仅支持中英文数字'))
} else {
callback()
}
......
......@@ -88,7 +88,7 @@ export default {
// const title= /^[\u0391-\uFFE5A-Za-z]+$/
const title = /^[\a-\z\A-\Z0-9\u4e00-\u9fe5]+$/
if (!title.test(value)) {
callback(new Error('请输入中英文数字'))
callback(new Error('仅支持中英文数字'))
} else {
callback()
}
......
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