checkCanonical (rule, value, callback) { if (value) { let isReg = true try { isReg = eval(value) instanceof RegExp } catch (e) { isReg = false } return isReg } },
标签:校验,value,表单,正则,isReg,输入 From: https://www.cnblogs.com/hwy6/p/17298456.html
checkCanonical (rule, value, callback) { if (value) { let isReg = true try { isReg = eval(value) instanceof RegExp } catch (e) { isReg = false } return isReg } },
标签:校验,value,表单,正则,isReg,输入 From: https://www.cnblogs.com/hwy6/p/17298456.html