优化代码

This commit is contained in:
java110 2022-06-24 15:58:09 +08:00
parent 65fc77918e
commit 3a7eb3c6d3

View File

@ -137,8 +137,11 @@
},
_closeSubMenu: function() {
vm.curMenuName = '';
vm.subMenus = [];
vm.menus.forEach(item => {
item.active = false;
});
}
},
});