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

eruda 插件中使用 chobitsu 无法监听 XhrRequest #20

Open
nagq opened this issue Jan 23, 2025 · 0 comments
Open

eruda 插件中使用 chobitsu 无法监听 XhrRequest #20

nagq opened this issue Jan 23, 2025 · 0 comments

Comments

@nagq
Copy link

nagq commented Jan 23, 2025

    const req = ((xhr as any).chobitsuRequest = new XhrRequest(
      xhr,
      method,
      url
    ))
    const req = new XhrRequest(
      xhr,
      method,
      url
    ))
((xhr as any).chobitsuRequests ? ((xhr as any).chobitsuRequests.push(req) :  ((xhr as any).chobitsuRequests = req
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

No branches or pull requests

1 participant