From 3a98bc886f7c26929adf36f072fbe130fd4877e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=AA=E5=B8=A6=E5=A4=A7=E4=BD=AC=E6=B0=94=E5=9C=BA?= <188633308@qq.com> Date: Wed, 28 Apr 2021 11:25:23 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=97=B6=E5=8F=AF=E8=83=BD=E4=BC=9A=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E4=B8=8D=E5=8F=AF=E5=85=B3=E9=97=AD=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/views/main/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/src/views/main/index.vue b/Web/src/views/main/index.vue index fad068b..b58603f 100644 --- a/Web/src/views/main/index.vue +++ b/Web/src/views/main/index.vue @@ -144,7 +144,7 @@ export default { onCloseContentWindow(key) { key = key || this.tabActived; - const i = this.$_.findIndex(this.panes, (p) => p.key === key); + const i = this.$_.findIndex(this.panes, (p) => p.key === key && p.closable); this.panes.splice(i, 1); if (this.panes.length) {