diff --git a/src/app/services/error.service.ts b/src/app/services/error.service.ts index a1a00f6..748fee3 100644 --- a/src/app/services/error.service.ts +++ b/src/app/services/error.service.ts @@ -31,7 +31,7 @@ export class ErrorService { public httpException(response: Response) { if (!environment.production) console.log('exception=>', response) - if (response.code === -1 && response.msg === '请求重复') return + if (response.code === -1 && response.msg === '重复请求') return if (this.componentStateService.currentPath === this.ADMIN_PAGE_PREFIX) { this.notification.create('error', `请求失败<${response.code}>`, `${response.msg}`); }