This commit is contained in:
张成
2025-10-20 18:50:01 +08:00
parent 96c8ba8c7e
commit a8d52f74ad

View File

@@ -10,7 +10,7 @@ class Http {
}
init(config, store) {
console.log('config', config)
this.config = { timeout: 300000, ...config }
this.store = store
}
@@ -24,6 +24,8 @@ class Http {
}
getHttpInstance(config) {
console.log('getHttpInstance', this.baseUrl())
let defaultConfig = {
timeout: this.config.timeout,
headers: {},