react+hashRouter+錨點功能

antd的錨點坑太大,a標籤錨點又在用hashRouter的時候不適用,只能本身想辦法了,通過試驗,總結了如下方法:antd 1、this HeaderTabs: [get {hash href: 'auction-detail',it text: '拍賣詳情'io },console {class href: 'standard-detail',map text: '標的詳情'scroll },
相關文章
相關標籤/搜索