<el-button type="primary" @click="openBtn">点击调用</el-button> //添加ref <ReportTraceQuery :reportTraceQueryShow.sync="reportTraceQueryShow" ref="reportTraceQuery"></ReportTraceQuery> //调用 openMark() { this.$refs.reportTraceQuery.reportTraceQueryTableData(); this.reportTraceQueryShow = true }, //注:reportTraceQueryTableData()是子组件的方法
标签: 子组件
上面是“vue主页点击按钮如何调用子组件方法”的全面内容,想了解更多关于 vuejs 内容,请继续关注web建站教程。
当前网址:https://ipkd.cn/webs_4.html
workflows工作流
一对葫芦ComfyUI工作流
一只白色小猫comfyui工作流
完整海报生成comfyui工作流
一辆老式灵车在黑暗中从雾中出现ComfyUI工作流
一颗闪闪发光的水晶漂浮在森林里
一只漂亮的孔雀的尾巴完全由披萨制成ComfyUI工作流
一只外星甲壳虫子ComfyUI工作流
图生图工作流:粉红色梦幻家园comfyui工作流
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!