zhoushihao
2024-05-07 b4a4a24a65fa3f90b4d39a311918943f73e18d5d
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
})
 
//