Can different paths of the same component of vue router trigger beforRouteUpdate?

will beforRouteUpdate be triggered if it is a jump between a path with parameters and a path without parameters? For example, if there is a common component for adding a page / add and a modified page / edit/:id, can jumping from a modified page to an added page trigger beforRouteUpdate?

Nov.04,2021

just try it. If the route is inconsistent, the triggered

will not be returned.
Menu