We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
while ((alreadyCount - start + 1) * preWidth < leftWidth && alreadyCount < textLength) { alreadyCount++; }
会导致死循环,我直接把外层的 while 注释掉,只留里面的 alreadyCount++ 不会出现死循环
The text was updated successfully, but these errors were encountered:
厉害
Sorry, something went wrong.
while ((alreadyCount - start + 1) * preWidth < leftWidth && alreadyCount < textLength) { alreadyCount++; } 会导致死循环,我直接把外层的 while 注释掉,只留里面的 alreadyCount++ 不会出现死循环
我也遇到这个问题,小程序卡死,也不报错。按你的方法处理后就正常了
No branches or pull requests
while ((alreadyCount - start + 1) * preWidth < leftWidth && alreadyCount < textLength) {
alreadyCount++;
}
会导致死循环,我直接把外层的 while 注释掉,只留里面的 alreadyCount++ 不会出现死循环
The text was updated successfully, but these errors were encountered: