1234567891011121314151617181920212223 |
- export interface diffTimeDate {
- years: number
- days: number
- hours: number
- min: number
- sec: number
- millisec: number
- }
- declare function MathRand(len: number): number {}
- declare function MathRandom(range: number): number {}
- declare function Base64(data: any): string {}
- declare function MD5(data: any): string {}
- declare function DESencrypt(data: any, key: any): strng {}
- declare function DESdecrypt(data: any, key: any): strng {}
- declare function debounce(fn: Function, wait: number): void {}
- declare function throttle(fn: Function, wait: number): void {}
- declare function keepTwoDecimal(num: number): number {}
- declare function keepTwoDecimalFull(num: number): number {}
- declare function showSaleNumText(num: number): string {}
- declare function ScanSensitiveWords(content: string): string {}
- declare function getDiffTime(endDate: Date): diffTimeDate {}
- declare function RandomColor(): string {} // rgb(0,0,0)
|