🐛 nav 菜单切换问题修复

This commit is contained in:
ronger 2022-10-30 18:04:44 +08:00
parent 7894d4c3a4
commit 73e6bd325b

View File

@ -184,8 +184,6 @@ export default {
}, },
handleSelectMenu(item) { handleSelectMenu(item) {
let _ts = this; let _ts = this;
let activeMenu = _ts.$store.state.activeMenu;
if (activeMenu !== item) {
switch (item) { switch (item) {
case 'topic': case 'topic':
_ts.$router.push({ _ts.$router.push({
@ -220,7 +218,6 @@ export default {
} }
) )
} }
}
}, },
handleCommand(item) { handleCommand(item) {
let _ts = this; let _ts = this;