使用KeepAlive解決了 詳情頁面跳轉回列表頁面,保持列表原始狀態

步驟:

https://blog.csdn.net/leileibrother/article/details/79376502?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task

 

中間遇到了transition和KeepAlive結合使用的問題,因爲沒有牽扯到動畫等內容,使用下面鏈接可以直接解決

https://blog.csdn.net/Null_Bugs/article/details/79711113?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task

https://segmentfault.com/q/1010000015155130

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章