fix issue

pull/330/head
vapao 2021-06-07 11:11:03 +08:00
parent 919d64594e
commit 622a42e63e
2 changed files with 11 additions and 3 deletions

View File

@ -71,7 +71,14 @@ export default observer(function () {
<Link to="/system/role">新建角色</Link>
</Form.Item>
</Form.Item>
<Form.Item name="wx_token" label="微信Token">
<Form.Item
name="wx_token"
label="微信Token"
help={(
<span>
如果启用了MFA两步验证则该项为必填
<a target="_blank" rel="noopener noreferrer" href="https://spug.dev/docs/wx-token/">什么是微信Token</a>
</span>)}>
<Input placeholder="请输入微信Token"/>
</Form.Item>
</Form>

View File

@ -47,9 +47,10 @@ export default observer(function () {
checked={verify_ip}/>
</Form.Item>
<Form.Item
label="登录MFA认证"
label="登录MFA(两步)认证"
style={{marginTop: 24}}
help="建议开启,登录时额外使用验证码进行身份验证。">
help={<span>建议开启登录时额外使用验证码进行身份验证开启后未配置微信Token的账户将无法登录<a
target="_blank" rel="noopener noreferrer" href="https://spug.dev/docs/wx-token/">什么是微信Token</a></span>}>
<Switch
checkedChildren="开启"
unCheckedChildren="关闭"