diff --git a/src/components/vsSlider/vsSlider.vue b/src/components/vsSlider/vsSlider.vue index d3b0e96ee..f15e29977 100644 --- a/src/components/vsSlider/vsSlider.vue +++ b/src/components/vsSlider/vsSlider.vue @@ -50,7 +50,7 @@ - {{ valueCircle1 }} + {{ formatter(valueCircle1) }} {{ textFixed }} @@ -79,7 +79,7 @@ - {{ valueCircle2 }} + {{ formatter(valueCircle2) }} {{ textFixed }} @@ -141,6 +141,10 @@ export default { textFixed: { default: null, type: String + }, + formatter: { + default: value => value + type: Function } }, data: () => ({