在用vue3开发项目的时候,需要调用子组件的方法,于是想着用$refs来实现, ... const childRef = ref(); console.log(childRef.value); // undefined ...
確定! 回上一頁