Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #1564

Merged
merged 112 commits into from
Jan 29, 2021
Merged

Develop #1564

merged 112 commits into from
Jan 29, 2021

Conversation

GleanCoder1116
Copy link
Collaborator

* @param {Array} array 需要去重的数组
* @param {String} key 判断重复的属性
*/
export const uniqBy = (array, key) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lodash 好像有这个

@zhan8863 zhan8863 merged commit 16fff7d into master Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment