Merge branch 'dev' of codeup.aliyun.com:61c14a7efa282c88e103c23f/oak-general-business into dev
This commit is contained in:
commit
73744c57a8
|
|
@ -30,7 +30,7 @@ var Application = /** @class */ (function (_super) {
|
||||||
})];
|
})];
|
||||||
case 1:
|
case 1:
|
||||||
data = (_a.sent()).data;
|
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];
|
this.application = data[0];
|
||||||
if (this.application.type !== this.type) {
|
if (this.application.type !== this.type) {
|
||||||
this.storage.remove('application:applicationId');
|
this.storage.remove('application:applicationId');
|
||||||
|
|
@ -47,7 +47,7 @@ var Application = /** @class */ (function (_super) {
|
||||||
id: this.applicationId,
|
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];
|
this.application = data[0];
|
||||||
};
|
};
|
||||||
Application.prototype.loadApplicationInfo = function (type, domain) {
|
Application.prototype.loadApplicationInfo = function (type, domain) {
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ export class Application<
|
||||||
});
|
});
|
||||||
assert(
|
assert(
|
||||||
data.length === 1,
|
data.length === 1,
|
||||||
`applicationId${this.applicationId}没有取到有效数据`
|
`refresh:applicationId${this.applicationId}没有取到有效数据`
|
||||||
);
|
);
|
||||||
this.application = data[0];
|
this.application = data[0];
|
||||||
if (this.application.type !== this.type) {
|
if (this.application.type !== this.type) {
|
||||||
|
|
@ -66,7 +66,7 @@ export class Application<
|
||||||
} as any);
|
} as any);
|
||||||
assert(
|
assert(
|
||||||
data.length === 1,
|
data.length === 1,
|
||||||
`applicationId${this.applicationId}没有取到有效数据`
|
`cache:applicationId${this.applicationId}没有取到有效数据`
|
||||||
);
|
);
|
||||||
this.application = data[0];
|
this.application = data[0];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue