vue的父組件,子組件的一圖詳解

<showSideBar v-on:choosed="subjectFun"   v-bind:list="tab2"   v-bind:choosedSub="subIndex"></showSideBar> 是在父組件裏面寫的。showSideBar這個標籤是你自己對子組件的重新命名。 import showSideBar from '../public/showSideBar'  
相關文章
相關標籤/搜索