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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
| // 深度克隆
| 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'
|
| //文字转换为拼音
| import convertToPinyin from './function/convertToPinyin'
|
| //替换上传文件地址头部
| import getStationSrc from './function/getStationSrc'
|
| //将秒转化成时:分:秒
| import formatSeconds from './function/formatSeconds'
|
| //计时器定时查询
| import Timeout from './function/Timeout'
|
| //获取柱状图的重要的数据
| import getBarNum from './function/getBarNum'
|
| export default {
| deepClone,
| deepMerge,
| timeFormat,
| timeFrom,
| debounce,
| throttle,
| test,
| hidePhone,
| splitString,
| toThousands,
| pageTotal,
| convertToPinyin,
| getStationSrc,
| formatSeconds,
| Timeout,
| getBarNum,
| }
|
|