You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
650 B
37 lines
650 B
4 years ago
|
<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>
|