Update index.js
This commit is contained in:
parent
96b4925ba8
commit
c13057af78
@ -20,7 +20,7 @@ const About = () => {
|
|||||||
localStorage.setItem('about', aboutContent);
|
localStorage.setItem('about', aboutContent);
|
||||||
} else {
|
} else {
|
||||||
showError(message);
|
showError(message);
|
||||||
setAbout('加载关于内容失败...');
|
setAbout('Failed to load about content...');
|
||||||
}
|
}
|
||||||
setAboutLoaded(true);
|
setAboutLoaded(true);
|
||||||
};
|
};
|
||||||
@ -34,11 +34,11 @@ const About = () => {
|
|||||||
{
|
{
|
||||||
aboutLoaded && about === '' ? <>
|
aboutLoaded && about === '' ? <>
|
||||||
<Segment>
|
<Segment>
|
||||||
<Header as='h3'>关于</Header>
|
<Header as='h3'>About</Header>
|
||||||
<p>可在设置页面设置关于内容,支持 HTML & Markdown</p>
|
<p>About content can be set on the settings page and supports HTML & Markdown</p>
|
||||||
项目仓库地址:
|
Repository address:
|
||||||
<a href='https://github.com/songquanpeng/one-api'>
|
<a href='https://github.com/analogpvt/one-api'>
|
||||||
https://github.com/songquanpeng/one-api
|
https://github.com/analogpvt/one-api
|
||||||
</a>
|
</a>
|
||||||
</Segment>
|
</Segment>
|
||||||
</> : <>
|
</> : <>
|
||||||
|
Loading…
Reference in New Issue
Block a user