From b5b5824a571e34ebd07068eeeca01c03f536fd37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?oil=E6=AC=A7=E5=91=A6?= <2228586315@qq.com> Date: Mon, 17 Oct 2022 11:35:09 +0800 Subject: [PATCH] fix: update type --- web/src/typings.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/typings.d.ts b/web/src/typings.d.ts index 80c614a36d..c6bda866bb 100644 --- a/web/src/typings.d.ts +++ b/web/src/typings.d.ts @@ -56,7 +56,7 @@ declare const REACT_APP_ENV: 'test' | 'dev' | 'pre' | false; type PageMode = 'CREATE' | 'EDIT' | 'VIEW'; type Res = { - success: number; + success: boolean; message: string; request_id: string; data: T;