问题场景是这样,我们设定一个组件的ref = 'a',根据生命周期,我们是可以在mounted中访问的,但是console.log(this.$refs.a)是undefined,而我们this ...
確定! 回上一頁