Open shendiid opened 1 year ago
undefined
https://codesandbox.io/s/vue
1.增加自定义校验 Validator.addRule('ipv4', (val) => { return false; }); Validator.addMessage('ipv4', () => { return 'wrongIpAddress'; });
正常生效
不生效
vue: better-scroll:
Version
undefined
Reproduction link
https://codesandbox.io/s/vue
Steps to reproduce
1.增加自定义校验 Validator.addRule('ipv4', (val) => { return false; }); Validator.addMessage('ipv4', () => { return 'wrongIpAddress'; });
What is expected?
正常生效
What is actually happening?
不生效
Dependencies Version
vue: better-scroll: