diff --git a/src/common/verify/index.js b/src/common/verify/index.js index eb3e8843a..270334e1b 100644 --- a/src/common/verify/index.js +++ b/src/common/verify/index.js @@ -35,9 +35,9 @@ export default { validateStandardItem2 (rule, value, callback) { // return callback() let testval = /^[A-Za-z0-9/]+$/ - let testval1 = /[.-;;]+/ + let testval1 = /[.-;;()()]+/ if (value && !value.match(testval) && !value.match(testval1)) { - return callback(new Error('只能为(字母、数字、.、-、;、;)')) + return callback(new Error('只能为(字母数字()().-;;)')) } else { callback() }