ref 有三种用法: ... 2、ref 加在子组件上,用this.$refs.name 获取到的是组件实例,可以使用组件的所有方法。 ... 注意:. 1、ref 需要在dom渲染完成后才会有 ...
確定! 回上一頁