文章分类 -  Vue3

摘要:Vue3中获取this的方式 Vue2中每个组件使用this指向当前组件实例, this上包含全局挂在的内容:路由、状态管理等 Vue3中每个this,想要获取组件实例有两种 获取当前组件实例 获取全局实例 <script setup> import { getCurrentInstance } f 阅读全文
posted @ 2023-04-16 18:28 Felix_Openmind 阅读(250) 评论(0) 推荐(0) 编辑

*{cursor: url(https://files-cdn.cnblogs.com/files/morango/fish-cursor.ico),auto;}
点击右上角即可分享
微信分享提示