摘要:
第一种方法是直接在子组件中通过this.$parent.event来调用父组件的方法 父组件 复制代码 <template> <div> <child></child> </div> </template> <script> import child from '~/components/dam/child'; export default { components: { child }, met 阅读全文
posted @ 2019-12-23 14:23
Jinsuo
阅读(230)
评论(0)
推荐(0)

浙公网安备 33010602011771号