Commit 1b71a33b authored by 沈良进's avatar 沈良进

save

parent 738a8c50
...@@ -294,6 +294,9 @@ ...@@ -294,6 +294,9 @@
this.changeTabs() this.changeTabs()
}, },
handleClose(index) { handleClose(index) {
if(this.orderList.length <= 1) {
return
}
if (this.tabsActive === index) { if (this.tabsActive === index) {
this.tabsActive = 0 this.tabsActive = 0
this.orderList.splice(index, 1) this.orderList.splice(index, 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment