the way to Vue

127 阅读1分钟
  • 过滤器
Vue.filter( id, [definition] )
Vue.filter('toLocaleString', num=>num.toLocaleString())