去掉console打印

This commit is contained in:
Wang Kejun 2023-08-14 12:01:49 +08:00
parent 011e426316
commit 09bfc24701
1 changed files with 0 additions and 1 deletions

View File

@ -57,7 +57,6 @@ var SimpleConnector = /** @class */ (function (_super) {
}
message = response.headers.get('oak-message');
responseType = response.headers.get('Content-Type') || response.headers.get('content-type');
console.log(response.headers)
if (!(responseType === null || responseType === void 0 ? void 0 : responseType.toLocaleLowerCase().match(/application\/json/i))) return [3 /*break*/, 3];
return [4 /*yield*/, response.json()];
case 2: