go_router

作者: 择一城终老_347e | 来源:发表于2024-11-08 15:29 被阅读0次

    go和push的区别

    go: 

    Navigate to a location.

    push:

    Push a location onto the page stack.

    See also:

    pushReplacement which replaces the top-most page of the page stack and always uses a new page key.

    replace which replaces the top-most page of the page stack but treats it as the same page. The page key will be reused. This will preserve the state and not run any page animation.

    相关文章

      网友评论

          本文标题:go_router

          本文链接:https://www.haomeiwen.com/subject/dybfjjtx.html