父组件
methods: { getList() { console.log() }, },
子组件
let parent = this.$parent while (!parent.getList) { //无限套娃 parent = parent['$parent'] } parent.getList()