摘要: vue3提供了getCurrentInstance ,通过这个属性,找到全局属性globalProperties import { getCurrentInstance } from 'vue' const instance = getCurrentInstance() const _this= i 阅读全文
posted @ 2021-07-08 19:03 zzwlong 阅读(7362) 评论(0) 推荐(0) 编辑