摘要: 方式一:使用依赖注入(provide/inject) 在main.ts中进行挂载: import { createApp } from 'vue' import App from './App.vue' const app = createApp(App) import { getAction } 阅读全文
posted @ 2023-03-07 10:52 ~逍遥★星辰~ 阅读(2389) 评论(0) 推荐(0) 编辑