rz-validator
v1.0.0
Published
<!-- * @Author: your name * @Date: 2021-04-20 11:30:54 * @LastEditTime: 2021-04-20 11:35:30 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \rzuic:\project\validator\README.md --> # rz validator
Downloads
3
Readme
rz validator
瑞智云公共表单验证方法
发布
npm login #登录
npm publish #发布
npm version patch #1.0.1 表示小的bug修复
npm version minor #1.1.0 表示新增一些小功能
npm version mmajor #2.0.0 表示大的版本或大升级
npm version preminor #1.1.0-0 后面多了个0,表示预发布
安装
$ npm install rz-validator -S
全局引用 main.js
import $rzValidator from 'rz-validator'
Vue.prototype.$rzValidator = $rzValidator
页面调用
{ validator: $userValidator.checkC00024 }