@serializedowen/element-validator-polyfill

1.0.1 • Public • Published

element-validator-i10n

汉化element-ui的表单校验

原理

  1. 劫持async-validator的message()方法 调用返回自定义的message
  2. 劫持el-form-item的validate方法 用this.label的值代替this.prop的值作为key传入async-validator

随意取用 欢迎PR

Readme

Keywords

Package Sidebar

Install

npm i @serializedowen/element-validator-polyfill

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

3.92 kB

Total Files

3

Last publish

Collaborators

  • serializedowen