This commit is contained in:
zhigang.li 2018-08-30 13:05:16 +08:00
parent cd0ce9b808
commit b23b11d116
1 changed files with 0 additions and 4 deletions

View File

@ -56,7 +56,6 @@ export default {
contextMenuTop: 0, contextMenuTop: 0,
visible: false, visible: false,
menuList: { menuList: {
self: '关闭',
others: '关闭其他', others: '关闭其他',
all: '关闭所有' all: '关闭所有'
} }
@ -106,9 +105,6 @@ export default {
setTimeout(() => { setTimeout(() => {
this.getTagElementByName(this.currentRouteObj.name) this.getTagElementByName(this.currentRouteObj.name)
}, 100) }, 100)
} else {
let res = this.list.filter(item => !routeEqual(this.currentRouteObj, item))
this.$emit('on-close', res, undefined, this.currentRouteObj)
} }
}, },
handleClose (current) { handleClose (current) {