修改获取用户数据逻辑

This commit is contained in:
hanhh
2021-09-11 02:03:31 +08:00
parent 35539a4ccc
commit 4147025406
2 changed files with 12 additions and 2 deletions
+6 -1
View File
@@ -124,7 +124,12 @@ const SecuritySettings = ({ user, userChange }: any) => {
</Title>
使 {twoFactorInfo?.secret}
<div style={{ marginTop: 10 }}>
<QRCode value={twoFactorInfo?.url} />
<QRCode
style={{ border: '1px solid #21262d', borderRadius: 6 }}
includeMargin={true}
size={187}
value={twoFactorInfo?.url}
/>
</div>
<Title style={{ marginTop: 5 }} level={5}>