Element使用refs调用子组件的方法报错undefined

303 阅读1分钟

在子组件的created中使用this.$nextTick(()=>{})