删除冗余

UI_2022-02-10
yujialong 3 years ago
parent 7a487b6072
commit 28078fee70
  1. 5
      src/layouts/navbar/index.vue

@ -70,14 +70,9 @@ export default {
"setActiveTab" "setActiveTab"
]), ]),
// //
jump(tab) {
this.setActiveTab(tab.name);
this.$router.push(tab.name).catch(err => {});
},
handleSelect(key, keyPath) { handleSelect(key, keyPath) {
this.setActiveTab(key); this.setActiveTab(key);
this.$router.push(key).catch(err => {}); this.$router.push(key).catch(err => {});
console.log(key, keyPath);
} }
} }
}; };

Loading…
Cancel
Save