Skip to content

Commit

Permalink
feat(TabItem): 鼠标中键点击关闭页签项
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuh12 committed Apr 21, 2021
1 parent 78ecec3 commit ef673b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/components/TabItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export default {
vOn:dragover_native_prevent={() => (this.isDragOver = true)}
vOn:dragleave_native_prevent={() => (this.isDragOver = false)}
vOn:drop_native_stop_prevent={this.onDrop}
vOn:click_native_middle={() => this.closable && this.close()}
>
{slot(this)}
</router-link>
Expand Down

0 comments on commit ef673b5

Please sign in to comment.