@kengic/uni 0.6.3-beta.19 → 0.6.3-beta.20

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.
@@ -242,6 +242,8 @@ const _httpClient: IHttpClient = {
242
242
  url: _url,
243
243
  header: header,
244
244
  data: { ...(params ?? {}), ...(data ?? {}) },
245
+ // 超时时间, 单位毫秒, 默认 60 秒,
246
+ timeout: 1000 * 60 * 60,
245
247
  success(response) {
246
248
  switch (response.statusCode) {
247
249
  case 200:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/uni",
3
- "version": "0.6.3-beta.19",
3
+ "version": "0.6.3-beta.20",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "------ -------------------------------------------": "",