rz-filter
v1.0.1
Published
> 瑞智云filter过滤器
Downloads
12
Readme
rz filter
瑞智云filter过滤器
发布
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-filter -S
全局引用main.js
import * as filters from 'rz-filter'
Object.keys(filters).forEach((key) => {
Vue.filter(key, filters[key])
})
页面调用
{{total | toFixedTwo}}