Element使用refs调用子组件的方法报错undefined JackSparrow18 2021-12-08 303 阅读1分钟 在子组件的created中使用this.$nextTick(()=>{})