4 Commits

Author SHA1 Message Date
nemo-shen
d9c51b9070
fix(utils): 调整deepClone (#8340)
* fix(utils): 调整deepClone

解决deepClone没有对数组进行处理的问题

* style(utils): format

* fix(utils): 删除isDef判断

T声明应该应该传入null或者undefined

* fix(utils): add isDef

1. 考虑到可能会有参数同时存在oject和null两种可能性,重新增加isDef判断
2. 补全测试用例

Co-authored-by: nemo-shen <1034131477@qq.com>
2021-03-15 20:01:14 +08:00
neverland
314d6e2006
chore: remove unused isEmail validator (#8228) 2021-02-26 13:01:06 +08:00
neverland
1170262d72
test: fix index.spec.ts typing (#8201) 2021-02-23 19:43:29 +08:00
chenjiahan
75c296f0a8 test: update test cases of utils 2020-11-28 18:42:38 +08:00