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

fix: useKeyboard 查询 activeIndex 缺少判空 #307

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spade5
Copy link

@spade5 spade5 commented Jul 12, 2022

No description provided.

@vercel
Copy link

vercel bot commented Jul 12, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cascader ✅ Ready (Inspect) Visit Preview Jul 12, 2022 at 7:28AM (UTC)

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Jul 12, 2022

This pull request introduces 1 alert when merging 4eec0eb into 37db73b - view on LGTM.com

new alerts:

  • 1 for Useless assignment to local variable

@afc163
Copy link
Member

afc163 commented Jul 12, 2022

解决什么问题?

@spade5
Copy link
Author

spade5 commented Jul 13, 2022

解决什么问题?

这部分代码判断不严谨,传入的数据可能没有下一级结构,在我们的项目中偶现报错(currentOptions is undefined)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants