Fork me on GitHub
摘要: 官网 Vue3官网 前置Vue2 全局实例 app.provide、inject 和 runWithContext import { inject } from 'vue' app.provide('id', 1) const injected = app.runWithContext(() => 阅读全文
posted @ 2025-07-04 21:00 秋夜雨巷 阅读(43) 评论(0) 推荐(0)