Skip to content

Commit df63e88

Browse files
committed
fix: 修改tagsView右键菜单bug
1 parent cdbb5aa commit df63e88

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/views/layout/TagsView/components/TagList.jsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,6 @@ class TagList extends Component {
9292
this.props.history.push("/dashboard");
9393
this.closeContextMenu();
9494
};
95-
handleRefreshTag = () => {
96-
const { path } = this.state.currentTag;
97-
this.props.history.push(path);
98-
this.closeContextMenu();
99-
};
10095
handleCloseOtherTags = () => {
10196
const currentTag = this.state.currentTag;
10297
const { path } = currentTag;
@@ -144,7 +139,6 @@ class TagList extends Component {
144139
style={{ left: `${left}px`, top: `${top}px` }}
145140
ref={this.contextMenuContainer}
146141
>
147-
<li onClick={this.handleRefreshTag}>刷新</li>
148142
<li onClick={this.handleCloseOtherTags}>关闭其他</li>
149143
<li onClick={this.handleCloseAllTags}>关闭所有</li>
150144
</ul>

0 commit comments

Comments
 (0)