<!-- IMPORTANT: Please use the following link to create a new issue: https://new-issue.vuejs.org/ If your issue was not created using the app above, it will be closed immediately. 中文用户请注意: 请使用上面的链接来创建新的 issue。如果不是用上述工具创建的 issue 会被自动关闭。 --> - vue.esm.js?efeb:591 [Vue warn]: Invalid handler for event "click": got undefined 实际上saveMenu、saveControl都有定义,el-tabs 中每个el-tab-pane都有自己的按钮绑定@click事件,报错:vue.esm.js?efeb:591 [Vue warn]: Invalid handler for event "click": got undefined <el-tabs type="border-card"> <el-tab-pane label="菜单权限"> <div :style="'height:'+tabsPanelHeight+'px;overflow-y:auto;border:1px solid #f3f3f3;'"> .... </div> <br/> <el-button type="primary" :loading="loading" @click="saveMenu">保存</el-button> <el-button @click="close">关闭</el-button> </el-tab-pane> <el-tab-pane label="控件权限"> <div :style="'height:'+tabsPanelHeight+'px;overflow-y:auto;border:1px solid #f3f3f3;padding:10px;'"> ... </div> <br/> <el-button type="primary" :loading="loading" @click="saveControl">保存</el-button> <el-button @click="close">关闭</el-button> </el-tab-pane> </el-tabs> <!-- Love vuejs? Please consider supporting us via Patreon or OpenCollective: 👉 https://www.patreon.com/evanyou 👉 https://opencollective.com/vuejs/donate -->