@yelon/bis 12.0.11 → 12.0.12

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license ng-yunzai(devcui@outlook.com) v12.0.11
2
+ * @license ng-yunzai(devcui@outlook.com) v12.0.12
3
3
  * (c) 2020 devcui https://github.com/hbyunzai/yelon/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license ng-yunzai(devcui@outlook.com) v12.0.11
2
+ * @license ng-yunzai(devcui@outlook.com) v12.0.12
3
3
  * (c) 2020 devcui https://github.com/hbyunzai/yelon/
4
4
  * License: MIT
5
5
  */
@@ -1049,7 +1049,7 @@
1049
1049
  this.rxStomp = new rxStomp.RxStomp();
1050
1050
  if (i0.isDevMode()) {
1051
1051
  util.log('yz.stomp.service: is dev mode');
1052
- util.log('yz.stomp.service: ', "config is " + this.config);
1052
+ util.log('yz.stomp.service: ', "config is " + JSON.stringify(this.config));
1053
1053
  this.rxStomp.configure(this.config);
1054
1054
  return;
1055
1055
  }
@@ -1370,6 +1370,7 @@
1370
1370
  var YzDefaultInterceptor = /** @class */ (function () {
1371
1371
  function YzDefaultInterceptor(injector) {
1372
1372
  this.injector = injector;
1373
+ this.jump = false;
1373
1374
  this.refreshToking = false;
1374
1375
  this.refreshToken$ = new rxjs.BehaviorSubject(null);
1375
1376
  if (this.config.refreshTokenType === 'auth-refresh') {
@@ -1502,7 +1503,9 @@
1502
1503
  case 403:
1503
1504
  case 404:
1504
1505
  case 500:
1505
- this.goTo("/exception/" + ev.status);
1506
+ if (this.jump) {
1507
+ this.goTo("/exception/" + ev.status);
1508
+ }
1506
1509
  break;
1507
1510
  default:
1508
1511
  if (ev instanceof http.HttpErrorResponse) {