摘要:
//下载axios npm i axios //在main.js挂载到全局 import axios from "axios"; const app = createApp(App); app.config.globalProperties.$axios = axios; //页面使用 <templ 阅读全文
摘要:
npm i axios main.js import axios from "axios"; const app = createApp(App); app.config.globalProperties.$axios = axios; 页面使用 import { getCurrentInstanc 阅读全文