Skip to content

Remove beforeEach hooks #1106

@chenweiqun

Description

@chenweiqun

Whether the router can add a dynamic removal beforeEach function?

example:

//add
let eachFnId =  router.beforeEach(...)
//remove sometime
router.removeBeforeEach(eachFnId)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions