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 config.set('customizeIgnoreSelectors') not work #2762

Conversation

mywei1989
Copy link

根据此issue 2223 发现该方法会报错导致无法正常工作,经过调试提出修改方案如commit所示。
经测试后该方法可以正常使用。

`
// 任意可获取到config的地方

config.set('customizeIgnoreSelectors', ['.next-btn'])
`

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


linzhiwei2 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@liujuping
Copy link
Collaborator

这里的 customizeIgnoreSelectors 是 function。配置方式示例:

config.set('customizeIgnoreSelectors', () => ['.next-btn'])

@liujuping liujuping added the invalid This doesn't seem right / 看起来不是问题啊 label Dec 12, 2023
@mywei1989
Copy link
Author

这里的 customizeIgnoreSelectors 是 function。配置方式示例:

config.set('customizeIgnoreSelectors', () => ['.next-btn'])

ok 那是我理解错了····

@mywei1989 mywei1989 closed this Dec 12, 2023
@mywei1989 mywei1989 deleted the fix/configSetCustomizeIgnoreSelectors branch December 12, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right / 看起来不是问题啊
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants