完善代码格式

This commit is contained in:
dushixiang
2021-10-31 17:41:01 +08:00
parent 35fea76e38
commit 10e7d2c3ee
3 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@ package session
import ( import (
"fmt" "fmt"
"next-terminal/server/guacd" "next-terminal/server/guacd"
"next-terminal/server/term" "next-terminal/server/term"

View File

@ -314,7 +314,7 @@ class App extends Component {
<div className='layout-header-right'> <div className='layout-header-right'>
<div className={'layout-header-right-item'}> <div className={'layout-header-right-item'}>
<a style={{color: 'black'}} target='_blank' href='https://github.com/dushixiang/next-terminal'> <a style={{color: 'black'}} target='_blank' href='https://github.com/dushixiang/next-terminal' rel='noreferrer noopener'>
<GithubOutlined /> <GithubOutlined />
</a> </a>
</div> </div>

View File

@ -288,7 +288,7 @@ class MyAsset extends Component {
return ( return (
<List.Item> <List.Item>
<a target='_blank' href={url}> <a target='_blank' href={url} rel='noreferrer noopener'>
<Card title={item['name']} <Card title={item['name']}
hoverable hoverable
extra={item['active'] ? extra={item['active'] ?