chore: update style
This commit is contained in:
parent
7e41ecb575
commit
01fc503f18
@ -78,7 +78,7 @@ const PersonalSetting = () => {
|
|||||||
setAffLink(link);
|
setAffLink(link);
|
||||||
setSystemToken("");
|
setSystemToken("");
|
||||||
await copy(link);
|
await copy(link);
|
||||||
showNotice(`邀请链接已复制到剪切板`);
|
showSuccess(`邀请链接已复制到剪切板`);
|
||||||
} else {
|
} else {
|
||||||
showError(message);
|
showError(message);
|
||||||
}
|
}
|
||||||
@ -87,13 +87,13 @@ const PersonalSetting = () => {
|
|||||||
const handleAffLinkClick = async (e) => {
|
const handleAffLinkClick = async (e) => {
|
||||||
e.target.select();
|
e.target.select();
|
||||||
await copy(e.target.value);
|
await copy(e.target.value);
|
||||||
showNotice(`邀请链接已复制到剪切板`);
|
showSuccess(`邀请链接已复制到剪切板`);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSystemTokenClick = async (e) => {
|
const handleSystemTokenClick = async (e) => {
|
||||||
e.target.select();
|
e.target.select();
|
||||||
await copy(e.target.value);
|
await copy(e.target.value);
|
||||||
showNotice(`系统令牌已复制到剪切板`);
|
showSuccess(`系统令牌已复制到剪切板`);
|
||||||
};
|
};
|
||||||
|
|
||||||
const deleteAccount = async () => {
|
const deleteAccount = async () => {
|
||||||
|
@ -153,8 +153,8 @@ const EditToken = () => {
|
|||||||
<Button type={'button'} onClick={() => {
|
<Button type={'button'} onClick={() => {
|
||||||
setUnlimitedQuota();
|
setUnlimitedQuota();
|
||||||
}}>{unlimited_quota ? '取消无限额度' : '设为无限额度'}</Button>
|
}}>{unlimited_quota ? '取消无限额度' : '设为无限额度'}</Button>
|
||||||
<Button positive onClick={submit}>提交</Button>
|
<Button floated='right' positive onClick={submit}>提交</Button>
|
||||||
<Button onClick={handleCancel}>取消</Button>
|
<Button floated='right' onClick={handleCancel}>取消</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Segment>
|
</Segment>
|
||||||
</>
|
</>
|
||||||
|
@ -179,8 +179,8 @@ const EditUser = () => {
|
|||||||
readOnly
|
readOnly
|
||||||
/>
|
/>
|
||||||
</Form.Field>
|
</Form.Field>
|
||||||
<Button positive onClick={submit}>提交</Button>
|
|
||||||
<Button onClick={handleCancel}>取消</Button>
|
<Button onClick={handleCancel}>取消</Button>
|
||||||
|
<Button positive onClick={submit}>提交</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Segment>
|
</Segment>
|
||||||
</>
|
</>
|
||||||
|
Loading…
Reference in New Issue
Block a user