zx 3 years ago
parent 24a52bf51f
commit a12f514ec9

@ -62,10 +62,7 @@ export default defineComponent({
let obj = {
title: ele.meta.title,
path: ele.path
}
// if(obj.path != '/' && obj.path != '/login') {
// breadcrumbs.push(obj);
// }
};
if(obj.title) {
breadcrumbs.push(obj);
}
@ -120,6 +117,15 @@ export default defineComponent({
},
tagClose(row, index) {
this.list.splice(index,1)
if(row.path == this.store.getters.getTagActive) {
if(index != 0 && this.list.length != 0) {
this.$router.push(this.list[index-1].path);
} else if(index == 0 && this.list.length != 0) {
this.$router.push(this.list[index].path);
} else {
this.$router.push('/questManage/questList');
}
}
},
goLeft() {
let f = this.tvWidth2.offsetLeft;

Loading…
Cancel
Save