From 86378a46f2836a41ccaa8d623164ac8f916d8a77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BE=E5=87=A0=E6=B5=B7?= Date: Wed, 5 Aug 2020 22:33:53 +0800 Subject: [PATCH] typo --- src/app/services/error.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`); }