addEventListener('mousemove', e => { x.value = e.pageX y.value = e.pageY }) }) return {x, y};//x,y可以在组件中使用 }. 复制代码. 分类: vue3.0.
確定! 回上一頁