greenPro/pages/template/component-communication/component-communication.vue

37 lines
650 B
Vue
Raw Normal View History

2024-06-02 14:51:29 +00:00
<template>
<view>
<page-head title="组件通讯示例"></page-head>
<view class="uni-padding-wrap">
<view class="uni-btn-v">
<reciver></reciver>
<sender></sender>
<sender-bus></sender-bus>
</view>
</view>
</view>
</template>
<script>
import reciver from './reciver.vue'
import sender from './sender.vue'
import senderBus from './sender-bus.vue'
export default {
components:{
reciver,
sender,
senderBus
},
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>