build(projects): 更换eslint依赖为eslint-config-soybeanjs-vue

This commit is contained in:
Soybean
2022-08-28 14:48:00 +08:00
parent 7240be8495
commit 07325a4236
8 changed files with 27 additions and 21 deletions

View File

@ -82,7 +82,7 @@ function formatNumber(num: number | string) {
}
const { decimals, decimal, separator, suffix, prefix } = props;
let number = Number(num).toFixed(decimals);
number += '';
number = String(number);
const x = number.split('.');
let x1 = x[0];