摘要:
Father.vue <template> <view> <view @click="show">我是父组件按钮</view> <child :isShow.sync="isShow" v-if="isShow"></child> </view> </template> <script> impor 阅读全文
摘要:
1.父传子 Father.vue <template> <view> <Son :toSonData="toSonData"></Son> </view> </template> <script> import Son from "./Son.vue"; export default{ data() 阅读全文