标签: angular ionic4
示例:pageA url为localhost:8100/address?from=1,然后pageA导航到pageB localhost:8100/edit,然后pageB单击ion-back-button返回pageA,但是pageA url将变为localhost:8100/address ,网址查询参数?from=1为none,为什么?
localhost:8100/address?from=1
localhost:8100/edit
ion-back-button
localhost:8100/address
?from=1
答案 0 :(得分:0)
当导航历史记录为空时,将使用defaltHref作为备用。