From 309e9bd1d6e6d47e1a9dc454aa37e28295c774ca Mon Sep 17 00:00:00 2001 From: wkj <278599135@qq.com> Date: Tue, 31 Jan 2023 18:22:01 +0800 Subject: [PATCH] =?UTF-8?q?features=20application=E6=96=87=E4=BB=B6=20asse?= =?UTF-8?q?rt=20=E6=96=87=E5=AD=97=E6=8F=90=E7=A4=BA=E5=8C=BA=E5=88=86?= =?UTF-8?q?=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/features/application.js | 4 ++-- src/features/application.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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]; }