From ef673b5dff481795f9c37126d94a3cbb3ee123cb Mon Sep 17 00:00:00 2001 From: bhuh12 Date: Wed, 21 Apr 2021 18:11:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(TabItem):=20=E9=BC=A0=E6=A0=87=E4=B8=AD?= =?UTF-8?q?=E9=94=AE=E7=82=B9=E5=87=BB=E5=85=B3=E9=97=AD=E9=A1=B5=E7=AD=BE?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #118 --- lib/components/TabItem.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/components/TabItem.js b/lib/components/TabItem.js index 2ca4aed8..5fc608f3 100644 --- a/lib/components/TabItem.js +++ b/lib/components/TabItem.js @@ -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)}