Vue3.0 中新增了Composition API , 在使用h函数渲染vnode时,如果需要使用ref, 和vue2.0中有所不同。先来看在Vue3 如何在模版语法中使用ref(options语法中获取ref ...
確定! 回上一頁