完善产品库
This commit is contained in:
		| @@ -51,7 +51,7 @@ export default { | |||||||
|           index = tabs?.findIndex(e => id == e.name) |           index = tabs?.findIndex(e => id == e.name) | ||||||
|       if (id == this.currentTab) { |       if (id == this.currentTab) { | ||||||
|         let next = tabs?.[index + 1] || tabs?.[index - 1] |         let next = tabs?.[index + 1] || tabs?.[index - 1] | ||||||
|         this.handleTabClick(next) |         next ? this.handleTabClick(next) : this.$router.push({path: '/'}) | ||||||
|       } |       } | ||||||
|       this.tabs.splice(index, 1) |       this.tabs.splice(index, 1) | ||||||
|     }, |     }, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user