mpvue组件使用,mpvue小程序catchtap使用
catchtap使用 @click.stop="typebar" 1.切记组件不能是关键字2.引入组件,定义组件,组件使用import chart from '@/components/chart'import set from '@/components/set' components: {chart,set},<chart></ch
·
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>
更多推荐
已为社区贡献8条内容
所有评论(0)