UNPKG

plus-pro-components

Version:

Page level components developed based on Element Plus.

11 lines (9 loc) 381 B
import { dayjs } from 'element-plus'; /** * * @param {string | number | Date | Dayjs | null | undefined} date * @param format 默认 YYYY-MM-DD HH:mm:ss * @returns YYYY-MM-DD HH:mm:ss */ export declare function formatDate(date?: dayjs.ConfigType, format?: string): string; export declare function formatMoney(val: string | number, format?: string, decimal?: number): string;