cube-ui icon indicating copy to clipboard operation
cube-ui copied to clipboard

【急】cube-ui 搭配 webpack 5 普通编译 时,无法添加自定义校验(addRule失效,addMessage可以生效)

Open shendiid opened this issue 2 years ago • 0 comments

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:

shendiid avatar May 10 '23 12:05 shendiid