diff --git a/lib/features/application.js b/lib/features/application.js index d9055fe5b..6a3a65765 100644 --- a/lib/features/application.js +++ b/lib/features/application.js @@ -30,7 +30,7 @@ var Application = /** @class */ (function (_super) { })]; case 1: data = (_a.sent()).data; - (0, assert_1.assert)(data.length === 1, "applicationId".concat(this.applicationId, "\u6CA1\u6709\u53D6\u5230\u6709\u6548\u6570\u636E")); + (0, assert_1.assert)(data.length === 1, "refresh:applicationId".concat(this.applicationId, "\u6CA1\u6709\u53D6\u5230\u6709\u6548\u6570\u636E")); this.application = data[0]; if (this.application.type !== this.type) { this.storage.remove('application:applicationId'); @@ -47,7 +47,7 @@ var Application = /** @class */ (function (_super) { id: this.applicationId, }, }); - (0, assert_1.assert)(data.length === 1, "applicationId".concat(this.applicationId, "\u6CA1\u6709\u53D6\u5230\u6709\u6548\u6570\u636E")); + (0, assert_1.assert)(data.length === 1, "cache:applicationId".concat(this.applicationId, "\u6CA1\u6709\u53D6\u5230\u6709\u6548\u6570\u636E")); this.application = data[0]; }; Application.prototype.loadApplicationInfo = function (type, domain) { diff --git a/src/features/application.ts b/src/features/application.ts index c3ab34b91..5ff970e41 100644 --- a/src/features/application.ts +++ b/src/features/application.ts @@ -49,7 +49,7 @@ export class Application< }); assert( data.length === 1, - `applicationId${this.applicationId}没有取到有效数据` + `refresh:applicationId${this.applicationId}没有取到有效数据` ); this.application = data[0]; if (this.application.type !== this.type) { @@ -66,7 +66,7 @@ export class Application< } as any); assert( data.length === 1, - `applicationId${this.applicationId}没有取到有效数据` + `cache:applicationId${this.applicationId}没有取到有效数据` ); this.application = data[0]; }