The filter
Vue.js allows you to customize filters for double curly brace interpolation and V-bind expressions
{{ message | capitalize }} <! -`v-bind`-- - ><div v-bind:id="rawId | formatId"></div>
{{ c.price | currency('RMB')}}filters: {
currency(value, symbol = A '$') {
returnsymbol + value; }}Copy the code