摘要: 1、第一种方法:借助共同的父组件通信 父组件 <template> <div> <PageA @cut="cut_father" @add="add_father"></PageA> <hr> <PageB :total="count"></PageB> </div> </template> <sc 阅读全文
posted @ 2021-09-08 22:41 程序员冒冒 阅读(981) 评论(0) 推荐(0) 编辑