im-ui-mobile 0.0.65 → 0.0.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "im-ui-mobile",
3
- "version": "0.0.65",
3
+ "version": "0.0.66",
4
4
  "description": "A Vue3.0 + typescript instant messaging component library for Uniapp",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -22,13 +22,14 @@ export default class Requester {
22
22
  ...options
23
23
  }
24
24
  this.header = {
25
+ ...this.header,
25
26
  ...options.header
26
27
  }
27
28
  this.options.url = this.baseURL + this.options.url
28
29
  this.options.header = this.header
30
+ this.options.timeout = this.timeout
29
31
  return new Promise((resolve, reject) => {
30
32
  uni.request({
31
- timeout: this.timeout,
32
33
  ...this.options,
33
34
  success: (res) => {
34
35
  const data = res.data;