鍍金池/ 問(wèn)答/HTML5  HTML/ react-router4 怎么實(shí)現(xiàn)多tab切換的功能?

react-router4 怎么實(shí)現(xiàn)多tab切換的功能?

如題,react-router4 怎么實(shí)現(xiàn)多tab切換的功能?

回答
編輯回答
汐顏

用Route和Link就能實(shí)現(xiàn),具體是tab選項(xiàng)用Link標(biāo)簽,切換的具體內(nèi)容,以組件的形式綁定到Route

2017年10月30日 12:36