Skip to content

Commit

Permalink
Merge pull request #66 from hbyunzai/publish-18.0.1
Browse files Browse the repository at this point in the history
release(18.0.1): release 18.0.1
  • Loading branch information
devcui authored Jul 8, 2024
2 parents 6bab6f2 + 71e8184 commit 1885562
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-yunzai",
"version": "18.0.0",
"version": "18.0.1",
"description": "ng-zorro-antd admin panel front-end framework",
"author": "yunzai-bot <[email protected]>",
"repository": {
Expand Down Expand Up @@ -54,18 +54,18 @@
"@stomp/rx-stomp": "^2.0.0",
"@stomp/stompjs": "^7.0.0",
"ng-zorro-antd": "^18.0.1",
"@yelon/abc": "^18.0.0",
"@yelon/acl": "^18.0.0",
"@yelon/auth": "^18.0.0",
"@yelon/cache": "^18.0.0",
"@yelon/chart": "^18.0.0",
"@yelon/form": "^18.0.0",
"@yelon/mock": "^18.0.0",
"@yelon/theme": "^18.0.0",
"@yelon/bis": "^18.0.0",
"@yelon/bcs": "^18.0.0",
"@yelon/socket": "^18.0.0",
"@yelon/util": "^18.0.0",
"@yelon/abc": "^18.0.1",
"@yelon/acl": "^18.0.1",
"@yelon/auth": "^18.0.1",
"@yelon/cache": "^18.0.1",
"@yelon/chart": "^18.0.1",
"@yelon/form": "^18.0.1",
"@yelon/mock": "^18.0.1",
"@yelon/theme": "^18.0.1",
"@yelon/bis": "^18.0.1",
"@yelon/bcs": "^18.0.1",
"@yelon/socket": "^18.0.1",
"@yelon/util": "^18.0.1",
"ngx-tinymce": "^18.0.0",
"screenfull": "^6.0.2"
},
Expand Down Expand Up @@ -102,8 +102,8 @@
"stylelint-config-standard": "^36.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
"stylelint-config-clean-order": "^6.0.0",
"@yelon/testing": "^18.0.0",
"ng-yunzai": "^18.0.0",
"@yelon/testing": "^18.0.1",
"ng-yunzai": "^18.0.1",
"@types/jasminewd2": "~2.0.13",
"jasmine-spec-reporter": "^7.0.0",
"protractor": "~7.0.0",
Expand Down
7 changes: 5 additions & 2 deletions src/app/core/net/default.interceptor.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HttpErrorResponse, HttpHandlerFn, HttpInterceptorFn, HttpRequest, HttpResponseBase } from '@angular/common/http';
import { Injector, inject } from '@angular/core';
import { IGNORE_BASE_URL, _HttpClient } from '@yelon/theme';
import { environment } from '@env/environment';
import { IGNORE_BASE_URL, _HttpClient } from '@yelon/theme';
import { Observable, of, throwError, mergeMap } from 'rxjs';

import { ReThrowHttpError, checkStatus, getAdditionalHeaders, toLogin } from './helper';
Expand Down Expand Up @@ -48,7 +48,10 @@ function handleData(injector: Injector, ev: HttpResponseBase, req: HttpRequest<a
break;
default:
if (ev instanceof HttpErrorResponse) {
console.warn('未可知错误,大部分是由于后端不支持跨域CORS或无效配置引起,请参考 https://ng.yunzainfo.com/docs/server 解决跨域问题', ev);
console.warn(
'未可知错误,大部分是由于后端不支持跨域CORS或无效配置引起,请参考 https://ng.yunzainfo.com/docs/server 解决跨域问题',
ev
);
}
break;
}
Expand Down

0 comments on commit 1885562

Please sign in to comment.