File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ import { OPERATORS } from '../../models/operator'
54
54
import { formatError } from '../../utils/error'
55
55
import { ActionCard } from '../ActionCard'
56
56
import { Confirm } from '../Confirm'
57
- import { ReLinkDiv } from '../ReLinkDiv '
57
+ import { ReLink } from '../ReLink '
58
58
import { UserName } from '../UserName'
59
59
import { CommentArea } from './comment/CommentArea'
60
60
@@ -96,9 +96,15 @@ const ManageMenu: FC<{
96
96
return (
97
97
< >
98
98
< Menu >
99
- < ReLinkDiv to = { `/create/${ operation . id } ` } >
100
- < MenuItem icon = "edit" text = "修改作业" />
101
- </ ReLinkDiv >
99
+ < li >
100
+ < ReLink
101
+ className = "hover:text-inherit hover:no-underline"
102
+ to = { `/create/${ operation . id } ` }
103
+ target = "_blank"
104
+ >
105
+ < MenuItem tagName = "div" icon = "edit" text = "修改作业" />
106
+ </ ReLink >
107
+ </ li >
102
108
{ operation . commentStatus === BanCommentsStatusEnum . Enabled && (
103
109
< Confirm
104
110
intent = "danger"
You can’t perform that action at this time.
0 commit comments