子传父 vue子传父使用$emit传值 子组件: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <template> <div> <button @click="toParent">点击传到父级</button> </div> </template> <script> export defau