使用this.$refs触发自组件方法踩坑 jser_W 2021-06-02 166 阅读1分钟 前提: 我需要用thsi.$refs来出发自组件的一个methods,这个自组件的方法用到了父组件传来的数据props。 处理: this.$nextTick(() => { this.$refs.**.**(); })