关键代码
<Add ref="addRef"></Add>
//同级目录下
import Add from "./add.vue";
components: {
Add
},
handleAdd() {
console.log(this.$refs.addRef)
this.$refs.addRef.openFun();
// this.$router.push({
// path: '//ykh/meeting/index1.vue',
// })
},
需要引入的另一个页面