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 @@ - + 自动创建api