catchtap使用 @click.stop="typebar"
1.切记组件不能是关键字
2.引入组件,定义组件,组件使用
import chart from '@/components/chart'
import set from '@/components/set'
components: {
chart,
set
},
<chart></chart>
<set
:topics="topics" :no="no" :page="page"
v-on:formidTap="formidTap"
></set>
<listCard :topics="topics" :no="no" :page="page"
v-on:formidTap="formidTap"
v-on:onReachBottom="onReachBottom">
</listCard>