fixed.wxs 161 B

12345678
  1. var filters = {
  2. toFix: function (value) {
  3. return value.toFixed(2)//此处2为保留两位小数
  4. }
  5. }
  6. module.exports = {
  7. toFix: filters.toFix
  8. }