摘要:
```js / 时间格式化 @param { } value 时间 @param { } fmt 格式 使用举例: formatDate(new Date(), 'yyyy MM dd hh:mm:ss'); / export function formatDate(value, fmt) { if 阅读全文
posted @ 2020-02-25 14:39
ฅ˙-˙ฅ
阅读(235)
评论(0)
推荐(0)
摘要:
```jsexport function deepClone(source) { if (!source && typeof source !== 'object') { throw new Error('error arguments', 'shallowClone'); } const targetObj = source.constructor === Array ? [] : ... 阅读全文
posted @ 2020-02-25 14:35
ฅ˙-˙ฅ
阅读(118)
评论(0)
推荐(0)

浙公网安备 33010602011771号