zhoushihao
2024-06-13 2ea30c17460f2f3cdff49e6dc78c7c20ab114c09
UI-Project/src/utils/request.js
@@ -4,7 +4,7 @@
const userStore=useUserInfoStore()
const request = axios.create({
    baseURL: `http://${config.serverUrl}`,  // 注意!! 这里是全局统一加上了 后端接口前缀 前缀,后端必须进行跨域配置!
    timeout: 5000
    timeout: 30000
})
 
//