From 9818197004e2cb1317ca6cd3ccee598a302ea9c5 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Mon, 3 Oct 2022 15:58:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=80=E6=94=BE=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E8=BA=AB=E4=BB=BD=E7=BB=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/modals/GroupDetail/Role/tabs/summary.tsx | 8 +++----- server/tsconfig.json | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/client/web/src/components/modals/GroupDetail/Role/tabs/summary.tsx b/client/web/src/components/modals/GroupDetail/Role/tabs/summary.tsx index 45d74824..a7d9bb62 100644 --- a/client/web/src/components/modals/GroupDetail/Role/tabs/summary.tsx +++ b/client/web/src/components/modals/GroupDetail/Role/tabs/summary.tsx @@ -36,11 +36,9 @@ export const RoleSummary: React.FC = React.memo((props) => { onSave={props.onChangeRoleName} /> - - - + ); }); diff --git a/server/tsconfig.json b/server/tsconfig.json index 0725ed78..a8600593 100644 --- a/server/tsconfig.json +++ b/server/tsconfig.json @@ -7,6 +7,7 @@ "emitDecoratorMetadata": true, "importsNotUsedAsValues": "error", "jsx": "react", + "strict": false, // 临时 "typeRoots": ["./node_modules/@types", "./types"], "paths": { "tailchat-server-sdk": ["./packages/sdk/src"]