完善产品库

This commit is contained in:
aixianling
2022-07-05 16:05:58 +08:00
parent 2f351dbd68
commit f8105d5422

View File

@@ -51,7 +51,7 @@ export default {
index = tabs?.findIndex(e => id == e.name)
if (id == this.currentTab) {
let next = tabs?.[index + 1] || tabs?.[index - 1]
this.handleTabClick(next)
next ? this.handleTabClick(next) : this.$router.push({path: '/'})
}
this.tabs.splice(index, 1)
},