1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
| // 深度克隆
| import deepClone from './function/deepClone'
|
| // 对象合并
| import deepMerge from './function/deepMerge'
|
| // 时间格式化
| import timeFormat from './function/timeFormat'
|
| // 时间戳格式化,返回多久之前
| import timeFrom from './function/timeFrom'
|
| // 规则检验
| import test from './function/test'
|
| // 防抖
| import debounce from './function/debounce'
|
| // 节流
| import throttle from './function/throttle.js'
|
| //隐藏部分手机号
| import hidePhone from './function/hidePhone'
|
| //,号分割字符串
| import splitString from './function/splitString'
|
| //数字添加千分位
| import toThousands from './function/toThousands'
|
| //计算总页数
| import pageTotal from './function/pageTotal'
|
| export default {
| deepClone,
| deepMerge,
| timeFormat,
| timeFrom,
| debounce,
| throttle,
| test,
| hidePhone,
| splitString,
| toThousands,
| pageTotal,
| }
|
|