feat: 开放删除身份组功能

pull/56/head
moonrailgun 2 years ago
parent 8aee73265d
commit 9818197004

@ -36,11 +36,9 @@ export const RoleSummary: React.FC<RoleSummaryProps> = React.memo((props) => {
onSave={props.onChangeRoleName}
/>
<DevContainer>
<Button type="primary" danger={true} onClick={handleDeleteRole}>
{t('删除身份组')}
</Button>
</DevContainer>
<Button type="primary" danger={true} onClick={handleDeleteRole}>
{t('删除身份组')}
</Button>
</div>
);
});

@ -7,6 +7,7 @@
"emitDecoratorMetadata": true,
"importsNotUsedAsValues": "error",
"jsx": "react",
"strict": false, //
"typeRoots": ["./node_modules/@types", "./types"],
"paths": {
"tailchat-server-sdk": ["./packages/sdk/src"]

Loading…
Cancel
Save