Skip to content

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

@nagq

Description

@nagq
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions