摘要: 1、调用其他组件的getApplyService方法 先在自己页面利用emit传参,refresh为自定义的不重复名称 this.eventBus.$emit('refresh‘) on接收页面调用自己的方法:create方法写或者mounted 方法写 mounted () { //接受触发事件名 阅读全文
posted @ 2022-07-12 16:59 每天进步一点点_hejj 阅读(154) 评论(0) 推荐(0) 编辑