From 2cbd21635d13c72bb42c26c500f9195131ba162a Mon Sep 17 00:00:00 2001 From: pixel <303176530@qq.com> Date: Fri, 15 May 2020 10:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=B3=E9=97=AD=E5=8F=B3?= =?UTF-8?q?=E4=BE=A7=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/view/layout/aside/historyComponent/history.vue | 6 +++--- web/src/view/systemTools/autoCode/index.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/view/layout/aside/historyComponent/history.vue b/web/src/view/layout/aside/historyComponent/history.vue index 173fd21b..2190ac50 100644 --- a/web/src/view/layout/aside/historyComponent/history.vue +++ b/web/src/view/layout/aside/historyComponent/history.vue @@ -19,8 +19,8 @@
@@ -118,7 +118,7 @@ export default { const activeIndex = this.historys.findIndex( item => item.name == this.activeValue ) - this.historys.splice(leftIndex, this.historys.length) + this.historys.splice(leftIndex+1, this.historys.length) if (leftIndex < activeIndex) { this.$router.push({ name: this.rightActive }) } diff --git a/web/src/view/systemTools/autoCode/index.vue b/web/src/view/systemTools/autoCode/index.vue index 28189ca6..26572f7b 100644 --- a/web/src/view/systemTools/autoCode/index.vue +++ b/web/src/view/systemTools/autoCode/index.vue @@ -11,7 +11,7 @@