@cc-component/cc-core 1.3.5 → 1.3.6

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.
@@ -163,7 +163,9 @@ export class HttpManager {
163
163
  let url: string = r[0];
164
164
  let key: string = r[1];
165
165
  let pss: string = r[2];
166
-
166
+ if (method == HttpMethod.POST) {
167
+ pss = JSON.stringify(params);
168
+ }
167
169
  let hrd = urls.get(key);
168
170
  if (hrd && hrd.pss == pss) {
169
171
  Logger.warn(`地址【${key}】已正在请求中,不能重复请求`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-core",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",