文章加密

;
顯示具有 router 標籤的文章。 顯示所有文章
顯示具有 router 標籤的文章。 顯示所有文章

2019年10月17日 星期四

how add class active for parent when child router link clicked

在router parent寫 redirect : { name : 'childName' } ,接著router在想要active by click child's parent view button 寫:to="{name:`parent`}"