|
@@ -3,7 +3,7 @@ import { ElMessage } from 'element-plus'
|
|
|
|
|
|
|
|
const request = axios.create({
|
|
const request = axios.create({
|
|
|
baseURL: import.meta.env.VITE_APP_BASE_API,
|
|
baseURL: import.meta.env.VITE_APP_BASE_API,
|
|
|
- timeout: 1000,
|
|
|
|
|
|
|
+ timeout: 10000,
|
|
|
headers: {
|
|
headers: {
|
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
|
}
|
|
}
|