Commit aaa64a8c authored by 轩辕Rowboat's avatar 轩辕Rowboat Committed by Pan

update format code

没用编辑器,所以代码没格式化/(ㄒoㄒ)/~~
parent ff8d7ada
......@@ -105,7 +105,7 @@ export function html2Text(val) {
export function toThousandslsFilter(num) {
return (+num || 0).toString()
.replace(/^\-?\d+/g, function(m){
return m.replace(/(?=(?!\b)(\d{3})+$)/g, ',');
});
.replace(/^\-?\d+/g, function (m) {
return m.replace(/(?=(?!\b)(\d{3})+$)/g, ',');
});
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment