Initial Commit
This commit is contained in:
10
utils/filters.wxs
Normal file
10
utils/filters.wxs
Normal file
@ -0,0 +1,10 @@
|
||||
var filters = {
|
||||
toFix:function (value) {
|
||||
return value.toFixed(2) // 保留两位小数
|
||||
|
||||
}
|
||||
}
|
||||
module.exports = {
|
||||
toFix: filters.toFix,
|
||||
toNumber: filters.toNumber,
|
||||
}
|
Reference in New Issue
Block a user