feat: 增加数据更新时间字段
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
* @Date: 2025-06-27 17:36:31
|
||||
*/
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
export function toFixed(num: number | string, n: number): number {
|
||||
return parseFloat(parseFloat(num.toString()).toFixed(n));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user