Skip to content

Commit

Permalink
fix: meNumber组件默认格式化函数地区更换为zh
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Sep 4, 2022
1 parent 68f823c commit a719cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/meNumber.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const props = defineProps({
},
format: {
type: Function as PropType<(number: number) => string | number>,
default: (number: number) => new Intl.NumberFormat('en-IN').format(number),
default: new Intl.NumberFormat('zh').format,
},
});
const emit = defineEmits(['finished', 'started']);
Expand Down

0 comments on commit a719cc6

Please sign in to comment.