This commit is contained in:
张成
2025-10-20 18:44:48 +08:00
parent d79a272f50
commit db46666bd4

View File

@@ -4,15 +4,13 @@ import { formatDate } from './tools'
class Http {
constructor() {
this.config = {
apiUrl: '',
timeout: 300000
}
this.config = {}
this.store = null
}
init(config, store) {
this.config = { ...this.config, ...config }
this.config = { timeout: 300000, ...config }
this.store = store
}