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: fix error when cookie is undefined #124

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

answer-huang
Copy link

image

fix error when cookie is undefined

@wqcstrong
Copy link
Collaborator

感谢你的贡献。默认情况下 cookie 会是个空数组,你能帮忙继续找下是什么时候 cookie 变成 null 的根本原因吗

@answer-huang
Copy link
Author

感谢你的贡献。默认情况下 cookie 会是个空数组,你能帮忙继续找下是什么时候 cookie 变成 null 的根本原因吗

ok, 我有空找下原因.

@answer-huang
Copy link
Author

感谢你的贡献。默认情况下 cookie 会是个空数组,你能帮忙继续找下是什么时候 cookie 变成 null 的根本原因吗

image

debug 了下, 这个地方把 cookie 重置成 undefined 了. ( data 下面没有 data 这个属性 )

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.

2 participants